disable Python 3 subpackage on Fedora 17

This commit is contained in:
Dan Callaghan 2013-06-18 21:35:45 +10:00
parent cc34901b0b
commit 608376e7de

View File

@ -1,6 +1,6 @@
%global upstream_name itsdangerous %global upstream_name itsdangerous
%if 0%{?fedora} || 0%{?rhel} > 6 %if 0%{?fedora} >= 18 || 0%{?rhel} > 6
%bcond_without python3 %bcond_without python3
%else %else
%bcond_with python3 %bcond_with python3
@ -8,7 +8,7 @@
Name: python-%{upstream_name} Name: python-%{upstream_name}
Version: 0.21 Version: 0.21
Release: 2%{?dist} Release: 3%{?dist}
Summary: Python library for passing trusted data to untrusted environments Summary: Python library for passing trusted data to untrusted environments
License: BSD License: BSD
URL: http://pythonhosted.org/itsdangerous/ URL: http://pythonhosted.org/itsdangerous/
@ -100,6 +100,9 @@ popd
%endif %endif
%changelog %changelog
* Tue Jun 18 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-3
- disable Python 3 subpackage on Fedora 17
* Mon Jun 17 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-2 * Mon Jun 17 2013 Dan Callaghan <dcallagh@redhat.com> - 0.21-2
- $RPM_BUILD_ROOT -> %%{buildroot} - $RPM_BUILD_ROOT -> %%{buildroot}