Mon, 17 Sep 2012 19:16:57 +0200
Update to new vendor versions and modernize packaging.
json/json.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/json/json.spec Mon Sep 17 19:16:02 2012 +0200 1.2 +++ b/json/json.spec Mon Sep 17 19:16:57 2012 +0200 1.3 @@ -24,13 +24,13 @@ 1.4 # package version 1.5 %define V_api_c 0.9 1.6 %define V_api_c2 1.1.0 1.7 -%define V_api_c3 0.3 1.8 -%define V_api_pl1 2.16 1.9 -%define V_api_pl2 0.39 1.10 -%define V_api_pl3 2.26 1.11 +%define V_api_c3 0.8 1.12 +%define V_api_pl1 2.53 1.13 +%define V_api_pl2 0.47 1.14 +%define V_api_pl3 2.33 1.15 %define V_api_pl4 0.011 1.16 -%define V_api_js1 20090929 1.17 -%define V_api_js2 20090929 1.18 +%define V_api_js1 20091209 1.19 +%define V_api_js2 20091209 1.20 1.21 # package information 1.22 Name: json 1.23 @@ -43,7 +43,7 @@ 1.24 Group: Language 1.25 License: Open Source 1.26 Version: %{V_api_js2} 1.27 -Release: 20091120 1.28 +Release: 20120800 1.29 1.30 # list of sources 1.31 Source0: http://oss.metaparadigm.com/json-c/json-c-%{V_api_c}.tar.gz 1.32 @@ -59,12 +59,8 @@ 1.33 Patch0: json.patch 1.34 1.35 # build information 1.36 -Prefix: %{l_prefix} 1.37 -BuildRoot: %{l_buildroot} 1.38 -BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg, make 1.39 -PreReq: OpenPKG, openpkg >= 20040130, perl 1.40 -AutoReq: no 1.41 -AutoReqProv: no 1.42 +BuildPreReq: OpenPKG, openpkg >= 20100101, perl, perl-openpkg, make 1.43 +PreReq: OpenPKG, openpkg >= 20100101, perl 1.44 1.45 %description 1.46 JSON (JavaScript Object Notation) is a lightweight data-interchange 1.47 @@ -164,7 +160,6 @@ 1.48 %{l_prefix}/bin/perl-openpkg -d JavaScript-Dumper-%{V_api_pl4} configure build 1.49 1.50 %install 1.51 - rm -rf $RPM_BUILD_ROOT 1.52 ( cd json-c-%{V_api_c} 1.53 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 1.54 ) || exit $? 1.55 @@ -210,5 +205,4 @@ 1.56 %files -f files 1.57 1.58 %clean 1.59 - rm -rf $RPM_BUILD_ROOT 1.60