Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-29 10:03:46 -07:00
parent ba95f29904
commit 55bb49d300

View File

@ -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 <tdawson@redhat.com> - 2.1.fb63-4
- Cleanup spec file conditionals
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.1.fb63-3
- Python 2 binary package renamed to python2-rtslib
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3