Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-29 08:39:45 -07:00
parent 4447154031
commit e547769300

View File

@ -1,6 +1,6 @@
%global upstream_name itsdangerous
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%bcond_without python3
%else
%bcond_with python3
@ -8,7 +8,7 @@
Name: python-%{upstream_name}
Version: 0.24
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Python library for passing trusted data to untrusted environments
License: BSD
URL: http://pythonhosted.org/itsdangerous/
@ -94,6 +94,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} %{__python3} tests.py
%endif
%changelog
* Fri Sep 29 2017 Troy Dawson <tdawson@redhat.com> - 0.24-12
- Cleanup spec file conditionals
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild