Cleanup spec file conditionals
This commit is contained in:
parent
9140438e71
commit
4f14c8b06c
@ -1,4 +1,4 @@
|
|||||||
%if 0%{?fedora}
|
%if 0%{?fedora} || 0%{?rhel} >= 8
|
||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
%else
|
%else
|
||||||
%{!?python2_sitelib: %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
%{!?python2_sitelib: %global python2_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Name: pytz
|
Name: pytz
|
||||||
Version: 2017.2
|
Version: 2017.2
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Summary: World Timezone Definitions for Python
|
Summary: World Timezone Definitions for Python
|
||||||
|
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
@ -106,6 +106,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version} -v
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2017.2-4
|
||||||
|
- Cleanup spec file conditionals
|
||||||
|
|
||||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2017.2-3
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2017.2-3
|
||||||
- Python 2 binary package renamed to python2-pytz
|
- Python 2 binary package renamed to python2-pytz
|
||||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||||
|
Loading…
Reference in New Issue
Block a user