Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-28 07:32:54 -07:00
parent e9950465a9
commit a90f9c61db

View File

@ -16,7 +16,7 @@
%define with_gi 1
# python3 is not available on older RHEL
%if ! 0%{?fedora} || 0%{?rhel} <= 7
%if ! 0%{?fedora} && 0%{?rhel} <= 7
%define with_python3 0
%define with_bcache 0
%define with_lvm_dbus 0
@ -67,7 +67,7 @@
Name: libblockdev
Version: 2.12
Release: 2%{?dist}
Release: 3%{?dist}
Summary: A library for low-level manipulation with block devices
License: LGPLv2+
URL: https://github.com/storaged-project/libblockdev
@ -797,6 +797,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%files plugins-all
%changelog
* Thu Sep 28 2017 Troy Dawson <tdawson@redhat.com> - 2.12-3
- Cleanup spec file conditionals correctly
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.12-2
- Cleanup spec file conditionals