From 1ae18f91db72bf681afc03f85bd230cad1e5051b Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 07:36:47 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-beautifulsoup4.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-beautifulsoup4.spec b/python-beautifulsoup4.spec index baf3cc3..14974a2 100644 --- a/python-beautifulsoup4.spec +++ b/python-beautifulsoup4.spec @@ -1,11 +1,11 @@ -%if 0%{?fedora} > 1 +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %endif %global oname beautifulsoup4 Name: python-beautifulsoup4 Version: 4.6.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: HTML/XML parser for quick-turnaround applications like screen-scraping Group: Development/Languages License: MIT @@ -133,6 +133,9 @@ pushd %{py3dir} %endif %changelog +* Fri Sep 29 2017 Troy Dawson - 4.6.0-4 +- Cleanup spec file conditionals + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 4.6.0-3 - Python 2 binary package renamed to python2-beautifulsoup4 See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3