python-json 3.4-12 (armv7hnl;aarch64;znver1;x86_64;i686) 2020-10494
9999
Status | published | ||||||||||
Submitter | nobodydead [@T] gmail.com | ||||||||||
Platform | rolling | ||||||||||
Repository | main | ||||||||||
URL | https://abf.openmandriva.org/build_lists/693477 | ||||||||||
Packages |
|
||||||||||
Build Date | 2020-02-15 00:25:37 +0000 UTC | ||||||||||
Last Updated | 2020-02-16 17:07:52.757112902 +0000 UTC |
$ git show --format=fuller --patch-with-stat --summary 5f2aa87f89aaec04c3030e704810ec3001367ffe commit 5f2aa87f89aaec04c3030e704810ec3001367ffe Author: Alex <alexander@mezon.ru> AuthorDate: Sat Feb 15 00:08:37 2020 +0000 Commit: Alex <alexander@mezon.ru> CommitDate: Sat Feb 15 00:08:37 2020 +0000 fix naming --- python-json.spec | 59 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 37 insertions(+), 22 deletions(-) diff --git a/python-json.spec b/python-json.spec index b864491..a13de2b 100644 --- a/python-json.spec +++ b/python-json.spec @@ -1,32 +1,47 @@ -Name: python-json -Version: 3.4 -%define version_munge %(sed 's/\\./_/g' <<< %{version}) -Release: 12 -Summary: A JSON reader and writer for Python - -Group: Development/Python -License: LGPLv2+ -URL: https://sourceforge.net/projects/json-py/ -Source0: http://dl.sourceforge.net/json-py/json-py-%{version_munge}.zip -BuildArch: noarch -BuildRequires: python-devel +%define upstream_name python-json +%define upstream_version 3_4 + +Name: python-json +Version: 3.4 +Release: 12 +Summary: JSON reader and writer in Python +Group: Development/Python +License: LGPL +URL: http://sourceforge.net/projects/json-py/ +Source0: http://sourceforge.net/projects/json-py/files/json-py/3_4/json-py-%{upstream_version}.zip +BuildArch: noarch %description -json.py is an implementation of a JSON (http://json.org) reader and writer in -Python. +json.py is an implementation of a JSON (http://json.org) reader +and writer in Python. + +#------------------------------------------------ + +%package -n python2-json +Summary: JSON reader and writer in Python 2 +Group: Development/Python +BuildArch: noarch +BuildRequires: pkgconfig(python2) + +Obsoletes: python-json < 3.4-9 +Provides: python-json = %{version}-%{release} +Provides: pythonegg(2)(json) = %{version}-%{release} + +%description -n python2-json +json.py is an implementation of a JSON (http://json.org) reader +and writer in Python 2. + +#------------------------------------------------ %prep %setup -q -c -chmod a-x * +chmod 644 *.txt %build %install -mkdir -p %{buildroot}%{python_sitelib} -install -p -m 0644 json.py minjson.py %{buildroot}%{python_sitelib} -%py_compile %{buildroot}%{python_sitelib} - +install -D -m 644 json.py %{buildroot}%{python2_sitelib}/json.py -%files -%doc changes.txt jsontest.py license.txt readme.txt -%{python_sitelib}/*.py +%files -n python2-json +%doc *.txt +%{python2_sitelib}/json.py*
Not Available
benbullard79 [@T] cox.net | These *should* be OK | 1529d 19hrs |
benbullard79 [@T] cox.net | These *should* be OK | 1529d 19hrs |
benbullard79 [@T] cox.net | These *should* be OK | 1529d 19hrs |