OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 21-Oct-2009 21:25:12 Branch: HEAD Handle: 2009102120251200 Modified files: openpkg-src/json json.spec Log: add newer json2.js Summary: Revision Changes Path 1.130 +17 -9 openpkg-src/json/json.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/json/json.spec ============================================================================ $ cvs diff -u -r1.129 -r1.130 json.spec --- openpkg-src/json/json.spec 16 Oct 2009 16:18:03 -0000 1.129 +++ openpkg-src/json/json.spec 21 Oct 2009 19:25:12 -0000 1.130 @@ -28,7 +28,8 @@ %define V_api_pl3 0.38 %define V_api_pl4 2.2311 %define V_api_pl5 0.011 -%define V_api_js 20090929 +%define V_api_js1 20090929 +%define V_api_js2 20090929 # package information Name: json @@ -40,8 +41,8 @@ Class: PLUS Group: Language License: Open Source -Version: %{V_api_js} -Release: 20091016 +Version: %{V_api_js2} +Release: 20091021 # list of sources Source0: http://oss.metaparadigm.com/json-c/json-c-%{V_api_c}.tar.gz @@ -50,8 +51,9 @@ Source3: http://www.cpan.org/authors/id/D/DO/DOWENS/JSON-DWIW-%{V_api_pl3}.tar.gz Source4: http://www.cpan.org/authors/id/M/ML/MLEHMANN/JSON-XS-%{V_api_pl4}.tar.gz Source5: http://www.cpan.org/authors/id/P/PE/PERLER/JavaScript-Dumper-%{V_api_pl5}.tar.gz -Source6: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js}.js -Source7: http://www.ietf.org/rfc/rfc4627.txt +Source6: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json-%{V_api_js1}.js +Source7: ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/json2-%{V_api_js2}.js +Source8: http://www.ietf.org/rfc/rfc4627.txt # build information Prefix: %{l_prefix} @@ -102,11 +104,16 @@ url = http://www.cpan.org/authors/id/P/PE/PERLER/ regex = JavaScript-Dumper-(__VER__)\.tar\.gz } - prog json:json-js = { - version = %{V_api_js} + prog json:json-js1 = { + version = %{V_api_js1} url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/ regex = json-(__VER__)\.js } + prog json:json-js2 = { + version = %{V_api_js2} + url = ftp://ftp.openpkg.org/sources/CPY/VERSIONED/json/ + regex = json2-(__VER__)\.js + } %prep %setup -q -c @@ -115,7 +122,8 @@ %setup -q -T -D -a 3 %setup -q -T -D -a 4 %setup -q -T -D -a 5 - cp %{SOURCE json-%{V_api_js}.js} json.js + cp %{SOURCE json-%{V_api_js1}.js} json.js + cp %{SOURCE json2-%{V_api_js2}.js} json2.js %build ( cd json-c-%{V_api_c} @@ -141,7 +149,7 @@ %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/share/json %{l_shtool} install -c -m 644 \ - json.js $RPM_BUILD_ROOT%{l_prefix}/share/json/ + json.js json2.js $RPM_BUILD_ROOT%{l_prefix}/share/json/ %{l_shtool} install -c -m 644 \ %{SOURCE rfc4627.txt} $RPM_BUILD_ROOT%{l_prefix}/share/json/ %{l_prefix}/bin/perl-openpkg -d JSON-%{V_api_pl1} install @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org