From 32dc67b9c2e8ebb22e69ff34d7be0202a4e0b26e Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Tue, 5 Sep 2017 14:26:00 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-py.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-py.spec b/python-py.spec index 8785a53..a07d9f2 100644 --- a/python-py.spec +++ b/python-py.spec @@ -3,7 +3,7 @@ %bcond_without docs # the testsuite is curremtly not compatible with pytest 3, see # https://github.com/pytest-dev/py/issues/104 -%if ! 0%{fedora} < 26 +%if 0%{?fedora} >= 26 || 0%{?rhel} > 7 %global _without_tests 1 %endif %bcond_without tests @@ -19,7 +19,7 @@ Name: python-%{srcname} Version: 1.4.34 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library with cross-python path, ini-parsing, io, code, log facilities License: MIT and Public Domain # main package: MIT, except: doc/style.css: Public Domain @@ -260,6 +260,9 @@ popd %endif %changelog +* Tue Sep 05 2017 Troy Dawson - 1.4.34-5 +- Cleanup spec file conditionals + * Fri Aug 11 2017 Tomas Orsava - 1.4.34-4 - Switch with_docs and run_test macros to bcond_without docs, tests