ninja: Update to 1.9.0

Message ID 20190621112656.18358-1-stefan.schantl@ipfire.org
State Superseded
Headers show
Series ninja: Update to 1.9.0 | expand

Commit Message

Stefan Schantl June 21, 2019, 9:26 p.m. UTC
* Also add macro file for pakfire.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 ninja/ninja.nm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Stefan Schantl June 21, 2019, 9:34 p.m. UTC | #1
Forgot to attach the file which contains the macros.

I'll send a new patch - sorry for the noise.

Best regards,

-Stefan
> * Also add macro file for pakfire.
> 
> Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
> ---
>  ninja/ninja.nm | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/ninja/ninja.nm b/ninja/ninja.nm
> index e0793d8a0..ef54e5d99 100644
> --- a/ninja/ninja.nm
> +++ b/ninja/ninja.nm
> @@ -4,7 +4,7 @@
>  ####################################################################
> ###########
>  
>  name       = ninja
> -version    = 1.8.2
> +version    = 1.9.0
>  release    = 1
>  
>  groups     = Applications/System
> @@ -55,6 +55,12 @@ build
>  
>  		# Install ninja syntax highlighting for vim.
>  		install -Dpm0644 misc/ninja.vim
> %{BUILDROOT}%{datadir}/vim/vimfiles/syntax/ninja.vim
> +
> +		# Install pakfire macro.
> +		mkdir -p %{BUILDROOT}/usr/lib/pakfire/macros
> +		install -v -m 644 %{DIR_SOURCE}/%{name}.macro \
> +			%{BUILDROOT}/usr/lib/pakfire/macros
> +
>  	end
>  end
>

Patch

diff --git a/ninja/ninja.nm b/ninja/ninja.nm
index e0793d8a0..ef54e5d99 100644
--- a/ninja/ninja.nm
+++ b/ninja/ninja.nm
@@ -4,7 +4,7 @@ 
 ###############################################################################
 
 name       = ninja
-version    = 1.8.2
+version    = 1.9.0
 release    = 1
 
 groups     = Applications/System
@@ -55,6 +55,12 @@  build
 
 		# Install ninja syntax highlighting for vim.
 		install -Dpm0644 misc/ninja.vim %{BUILDROOT}%{datadir}/vim/vimfiles/syntax/ninja.vim
+
+		# Install pakfire macro.
+		mkdir -p %{BUILDROOT}/usr/lib/pakfire/macros
+		install -v -m 644 %{DIR_SOURCE}/%{name}.macro \
+			%{BUILDROOT}/usr/lib/pakfire/macros
+
 	end
 end