Remove Requires: fedora-release dependency, use system-release instead.
https://bugzilla.redhat.com/show_bug.cgi?id=1224561
This commit is contained in:
parent
ebc16a877a
commit
cd3323b0d4
13
lvm2.spec
13
lvm2.spec
@ -9,9 +9,7 @@
|
|||||||
%define enable_python 1
|
%define enable_python 1
|
||||||
%define enable_thin 1
|
%define enable_thin 1
|
||||||
|
|
||||||
# fedora-release >= 23-0.13 enables lvm2-lvmpolld.* systemd
|
%define system_release_version 23
|
||||||
# units by default in /lib/systemd/system-preset/90-default.preset
|
|
||||||
%define fedora_release_version 23-0.13
|
|
||||||
%define systemd_version 189-3
|
%define systemd_version 189-3
|
||||||
%define dracut_version 002-18
|
%define dracut_version 002-18
|
||||||
%define util_linux_version 2.24
|
%define util_linux_version 2.24
|
||||||
@ -49,7 +47,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.02.125
|
Version: 2.02.125
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
URL: http://sources.redhat.com/lvm2
|
URL: http://sources.redhat.com/lvm2
|
||||||
@ -83,7 +81,7 @@ BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
|
|||||||
BuildRequires: sanlock-devel >= %{sanlock_version}
|
BuildRequires: sanlock-devel >= %{sanlock_version}
|
||||||
%endif
|
%endif
|
||||||
Requires: %{name}-libs = %{version}-%{release}
|
Requires: %{name}-libs = %{version}-%{release}
|
||||||
Requires: fedora-release >= %{fedora_release_version}
|
Requires: system-release >= %{system_release_version}
|
||||||
Requires: bash >= %{bash_version}
|
Requires: bash >= %{bash_version}
|
||||||
Requires(post): systemd-units >= %{systemd_version}, systemd-sysv
|
Requires(post): systemd-units >= %{systemd_version}, systemd-sysv
|
||||||
Requires(preun): systemd-units >= %{systemd_version}
|
Requires(preun): systemd-units >= %{systemd_version}
|
||||||
@ -788,6 +786,11 @@ the device-mapper event library.
|
|||||||
%{_libdir}/pkgconfig/devmapper-event.pc
|
%{_libdir}/pkgconfig/devmapper-event.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 14 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.125-2
|
||||||
|
- Add Requires: system-release>=23 for lvmpolld to be enabled by default
|
||||||
|
instead of original Requires: fedora-release which may break installations
|
||||||
|
in environments where fedora-release is not available.
|
||||||
|
|
||||||
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.125-1
|
* Tue Jul 07 2015 Peter Rajnoha <prajnoha@redhat.com> - 2.02.125-1
|
||||||
- Fix getline memory usage in lvmpolld.
|
- Fix getline memory usage in lvmpolld.
|
||||||
- Add support --clear-needs-check-flag for cache_check of cache pool metadata.
|
- Add support --clear-needs-check-flag for cache_check of cache pool metadata.
|
||||||
|
Loading…
Reference in New Issue
Block a user