fix conditional

This commit is contained in:
Karsten Hopp 2018-01-23 14:41:12 +01:00
parent 1870cfd93a
commit 5c021fa551

View File

@ -5,7 +5,7 @@
%{!?python2_sitearch: %global python2_sitearch %{python_sitearch}}
%{!?python2_version: %global python2_version %{python_version}}
%if 0%{?fedora}
%if 0%{?fedora} || 0%{?rhel} > 7
%global with_python3 1
%else
%global with_python3 0
@ -13,7 +13,7 @@
Name: python-pluggy
Version: 0.3.1
Release: 9%{?dist}
Release: 10%{?dist}
Summary: The plugin manager stripped of pytest specific details
License: MIT
@ -125,6 +125,9 @@ popd
%changelog
* Tue Jan 23 2018 Karsten Hopp <karsten@redhat.com> - 0.3.1-10
- fix conditional
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.3.1-9
- Python 2 binary package renamed to python2-pluggy
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3