Cleanup spec file conditionals

This commit is contained in:
Troy Dawson 2017-09-27 14:55:55 -07:00
parent e2a4a0298c
commit e9950465a9

View File

@ -15,10 +15,8 @@
%define with_fs 1
%define with_gi 1
%define is_rhel 0%{?rhel} != 0
# python3 is not available on RHEL
%if %{is_rhel}
# python3 is not available on older RHEL
%if ! 0%{?fedora} || 0%{?rhel} <= 7
%define with_python3 0
%define with_bcache 0
%define with_lvm_dbus 0
@ -69,7 +67,7 @@
Name: libblockdev
Version: 2.12
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A library for low-level manipulation with block devices
License: LGPLv2+
URL: https://github.com/storaged-project/libblockdev
@ -799,6 +797,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
%files plugins-all
%changelog
* Wed Sep 27 2017 Troy Dawson <tdawson@redhat.com> - 2.12-2
- Cleanup spec file conditionals
* Wed Aug 30 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.12-1
- Own directories /etc/libblockdev and /etc/libblockdev/conf.d (vtrefny)
- Wait for resized partition (kailueke)