# HG changeset patch # User Michael Schloh von Bennewitz # Date 1347902217 -7200 # Node ID 5bd730820c5be55058f7e0b6e9d6ab1058f1e7c5 # Parent 165d980aa5f15b5c0911ea7ce949c77bfe153290 Update to new vendor versions and modernize packaging. diff -r 165d980aa5f1 -r 5bd730820c5b json/json.spec --- a/json/json.spec Mon Sep 17 19:16:02 2012 +0200 +++ b/json/json.spec Mon Sep 17 19:16:57 2012 +0200 @@ -24,13 +24,13 @@ # package version %define V_api_c 0.9 %define V_api_c2 1.1.0 -%define V_api_c3 0.3 -%define V_api_pl1 2.16 -%define V_api_pl2 0.39 -%define V_api_pl3 2.26 +%define V_api_c3 0.8 +%define V_api_pl1 2.53 +%define V_api_pl2 0.47 +%define V_api_pl3 2.33 %define V_api_pl4 0.011 -%define V_api_js1 20090929 -%define V_api_js2 20090929 +%define V_api_js1 20091209 +%define V_api_js2 20091209 # package information Name: json @@ -43,7 +43,7 @@ Group: Language License: Open Source Version: %{V_api_js2} -Release: 20091120 +Release: 20120800 # list of sources Source0: http://oss.metaparadigm.com/json-c/json-c-%{V_api_c}.tar.gz @@ -59,12 +59,8 @@ Patch0: json.patch # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, perl, perl-openpkg, make -PreReq: OpenPKG, openpkg >= 20040130, perl -AutoReq: no -AutoReqProv: no +BuildPreReq: OpenPKG, openpkg >= 20100101, perl, perl-openpkg, make +PreReq: OpenPKG, openpkg >= 20100101, perl %description JSON (JavaScript Object Notation) is a lightweight data-interchange @@ -164,7 +160,6 @@ %{l_prefix}/bin/perl-openpkg -d JavaScript-Dumper-%{V_api_pl4} configure build %install - rm -rf $RPM_BUILD_ROOT ( cd json-c-%{V_api_c} %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" ) || exit $? @@ -210,5 +205,4 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT