diff --git a/libblockdev.spec b/libblockdev.spec index 5582c2f..3bf39cb 100644 --- a/libblockdev.spec +++ b/libblockdev.spec @@ -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 - 2.12-3 +- Cleanup spec file conditionals correctly + * Wed Sep 27 2017 Troy Dawson - 2.12-2 - Cleanup spec file conditionals