From 55bb49d300d474b7ce9a88fd1cfb5d526bd7129f Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Fri, 29 Sep 2017 10:03:46 -0700 Subject: [PATCH] Cleanup spec file conditionals --- python-rtslib.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/python-rtslib.spec b/python-rtslib.spec index 016c91d..61dc25d 100644 --- a/python-rtslib.spec +++ b/python-rtslib.spec @@ -1,4 +1,4 @@ -%if 0%{?fedora} +%if 0%{?fedora} || 0%{?rhel} > 7 %global with_python3 1 %endif @@ -9,7 +9,7 @@ License: ASL 2.0 Group: System Environment/Libraries Summary: API for Linux kernel LIO SCSI target Version: 2.1.fb63 -Release: 3%{?dist} +Release: 4%{?dist} URL: https://fedorahosted.org/targetcli-fb/ Source: https://fedorahosted.org/released/targetcli-fb/%{oname}-%{version}.tar.gz Source1: target.service @@ -151,6 +151,9 @@ install -m 644 doc/saveconfig.json.5.gz %{buildroot}%{_mandir}/man5/ %doc doc/html %changelog +* Fri Sep 29 2017 Troy Dawson - 2.1.fb63-4 +- Cleanup spec file conditionals + * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 2.1.fb63-3 - Python 2 binary package renamed to python2-rtslib See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3