[packages/jq] - fix presented version (`jq --version') - rel 4

adwol adwol at pld-linux.org
Fri Jul 27 19:55:32 CEST 2018


commit 26df16308cbff2338a37293e0fb4deaee02d5d4f
Author: Adam Osuchowski <adwol at pld-linux.org>
Date:   Fri Jul 27 19:51:42 2018 +0200

    - fix presented version (`jq --version')
    - rel 4

 jq.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/jq.spec b/jq.spec
index 2ce023b..77c88d7 100644
--- a/jq.spec
+++ b/jq.spec
@@ -13,7 +13,7 @@ Summary:	Command-line JSON processor
 Summary(pl.UTF-8):	Procesor JSON działający z linii poleceń
 Name:		jq
 Version:	1.5
-Release:	3
+Release:	4
 License:	MIT, Apache, CC-BY, GPL v3
 Group:		Applications/Text
 #Source0Download: https://github.com/stedolan/jq/releases
@@ -103,6 +103,8 @@ Statyczna biblioteka jq.
 	--disable-silent-rules \
 	%{!?with_tests_valgrind:--disable-valgrind}
 
+echo -e '#!/bin/sh\necho "'%{version}'"' > scripts/version
+
 %{__make}
 
 # Docs already shipped in jq's tarball.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jq.git/commitdiff/26df16308cbff2338a37293e0fb4deaee02d5d4f



More information about the pld-cvs-commit mailing list