From e4eb0d4129f63805e5187a6b3b50efceb322a9e5 Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 09:23:44 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-nose.spec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/python-nose.spec b/python-nose.spec index a98860e..de1763f 100644 --- a/python-nose.spec +++ b/python-nose.spec @@ -1,11 +1,6 @@ -%if 0%{?rhel} && 0%{?rhel} < 5 -%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -%{!?python_version: %global python_version %(%{__python} -c "import sys ; print sys.version[:3]")} -%endif - %{!?python3_version: %global python3_version %(%{__python3} -c "import sys; sys.stdout.write(sys.version[:3])")} -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %bcond_without python3 %bcond_without platform_python %else @@ -37,7 +32,7 @@ output capture and more.\ Name: python-nose Version: 1.3.7 -Release: 15%{?dist} +Release: 16%{?dist} BuildArch: noarch License: LGPLv2+ and Public Domain @@ -267,6 +262,9 @@ popd %endif # with_docs %changelog +* Fri Sep 29 2017 Troy Dawson - 1.3.7-16 +- Cleanup spec file conditionals + * Thu Aug 10 2017 Miro HronĨok - 1.3.7-15 - Add platform-python subpackage