From f8cfff799b265fc6db0593af39221a8a6885009b Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Aug 15 2019 10:25:18 +0000 Subject: %{_bindir}/jsonlint uses Python3. --- diff --git a/python-demjson.spec b/python-demjson.spec index fceeebc..843decc 100644 --- a/python-demjson.spec +++ b/python-demjson.spec @@ -2,7 +2,7 @@ Name: python-%{srcname} Version: 2.2.4 -Release: 12%{?dist} +Release: 13%{?dist} Summary: Python JSON module and lint checker License: LGPLv3+ URL: http://deron.meranda.us/python/%{srcname}/ @@ -79,8 +79,8 @@ find %{buildroot}%{python2_sitelib} \ find %{buildroot}%{_bindir} -ls -# 2.X binary is called by default for now -ln -s jsonlint-%{python2_version} %{buildroot}%{_bindir}/jsonlint +# 3.X binary is called by default for now +ln -s jsonlint-%{python3_version} %{buildroot}%{_bindir}/jsonlint %check @@ -102,7 +102,6 @@ popd %doc python2/docs %license python2/LICENSE.txt %{python2_sitelib}/* -%{_bindir}/jsonlint %{_bindir}/jsonlint-2 %{_bindir}/jsonlint-%{python2_version} @@ -113,11 +112,15 @@ popd %doc python3/docs %license python3/LICENSE.txt %{python3_sitelib}/* +%{_bindir}/jsonlint %{_bindir}/jsonlint-3 %{_bindir}/jsonlint-%{python3_version} %changelog +* Thu Aug 15 2019 Thomas Moschny - 2.2.4-13 +- %%{_bindir}/jsonlint uses Python3. + * Fri Jul 26 2019 Fedora Release Engineering - 2.2.4-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild