public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-py] pr7: Cleanup spec file conditionals
@ 2026-08-01 11:43 Troy Dawson
  0 siblings, 0 replies; only message in thread
From: Troy Dawson @ 2026-08-01 11:43 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/python-py
Branch : pr7
Commit : 32dc67b9c2e8ebb22e69ff34d7be0202a4e0b26e
Author : Troy Dawson <tdawson@redhat.com>
Date   : 2017-09-05T14:26:00-07:00
Stats  : +5/-2 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/python-py/c/32dc67b9c2e8ebb22e69ff34d7be0202a4e0b26e?branch=pr7

Log:
Cleanup spec file conditionals

---
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 <tdawson@redhat.com> - 1.4.34-5
+- Cleanup spec file conditionals
+
 * Fri Aug 11 2017 Tomas Orsava <torsava@redhat.com> - 1.4.34-4
 - Switch with_docs and run_test macros to bcond_without docs, tests
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-01 11:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-01 11:43 [rpms/python-py] pr7: Cleanup spec file conditionals Troy Dawson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox