diff --git a/.gitignore b/.gitignore index 1a13f84..7872f33 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-jsonmodels-2.2.tar.gz +/python-jsonmodels-2.4.tar.gz diff --git a/python-jsonmodels.spec b/python-jsonmodels.spec index eb26184..067b199 100644 --- a/python-jsonmodels.spec +++ b/python-jsonmodels.spec @@ -1,12 +1,16 @@ %global pypi_name jsonmodels # Tests require invoke, which is only available for Fedora %global use_tests 0%{?fedora:1} -# Python3 is not available on centos -%global is_install_py3 0%{?fedora:1} +# Python3 is not available on centos <= 7 +%if 0%{?fedora} || 0%{?rhel} > 7 +%global is_install_py3 1 +%else +%global is_install_py3 0 +%endif Summary: Create Python structures that are converted to, or read from JSON Name: python-jsonmodels -Version: 2.2 -Release: 7%{?dist} +Version: 2.4 +Release: 1%{?dist} Source0: https://github.com/beregond/%{pypi_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz License: BSD BuildArch: noarch @@ -68,6 +72,9 @@ PYTHONPATH=$(pwd) %{__python3} setup.py test %endif %changelog +* Mon Mar 04 2019 Yatin Karel - 2.4-1 +- Update to 2.4 + * Sat Feb 02 2019 Fedora Release Engineering - 2.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index 61be906..85e52b0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-jsonmodels-2.2.tar.gz) = c71e7580facc11549d4e4d61ce09b3b38cc8fc37a550cbb0b6527eae78e4deae38c28822830d8651c01acceb03d6928cf4e49390219f8a090ca97e9a05f823d4 +SHA512 (python-jsonmodels-2.4.tar.gz) = 1a982cda0a5b74cf9f47bfb411e39867046edfc94d3b2c7f25dfc5f5d8d3d796df737b5257d591cb00825379b0e3c1b6ba3d688dce397243c5002d7852a78b8f