diff --git a/python-libNeuroML.spec b/python-libNeuroML.spec index 46765aa..9a6cca0 100644 --- a/python-libNeuroML.spec +++ b/python-libNeuroML.spec @@ -1,6 +1,11 @@ %global srcname libNeuroML +# https://fedoraproject.org/wiki/Packaging:DistTag?rd=Packaging/DistTag#Conditionals +%if 0%{?fedora} < 30 %global with_py2 1 +%else +%global with_py2 0 +%endif %global _description \ This package provides Python libNeuroML, for working with neuronal models \ @@ -12,7 +17,7 @@ http://readthedocs.org/docs/libneuroml/en/latest/ Name: python-%{srcname} Version: 0.2.45 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python libNeuroML for working with neuronal models specified in NeuroML License: BSD @@ -132,6 +137,9 @@ nosetests-2 %endif %changelog +* Sat Oct 27 2018 Ankur Sinha - 0.2.45-5 +- Update to use conditional for spec uniformity + * Fri Oct 26 2018 Ankur Sinha - 0.2.45-4 - Correct license - Remove bcond