Update spec file
* Add /etc/lvm/devices entry * Use autorelease macro
This commit is contained in:
parent
587f273557
commit
0636341dcb
@ -38,6 +38,9 @@
|
|||||||
|
|
||||||
# Do not reset Release to 1 unless both lvm2 and device-mapper
|
# Do not reset Release to 1 unless both lvm2 and device-mapper
|
||||||
# versions are increased together.
|
# versions are increased together.
|
||||||
|
#
|
||||||
|
# NOTE: At the moment it is better to increase DM version together with lvm.
|
||||||
|
# This siplifies life for other packagers as well.
|
||||||
|
|
||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
@ -45,7 +48,7 @@ Name: lvm2
|
|||||||
Epoch: %{rhel}
|
Epoch: %{rhel}
|
||||||
%endif
|
%endif
|
||||||
Version: 2.03.22
|
Version: 2.03.22
|
||||||
Release: 2%{?dist}
|
Release: %autorelease
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: https://sourceware.org/lvm2/
|
URL: https://sourceware.org/lvm2/
|
||||||
Source0: https://sourceware.org/pub/lvm2/releases/LVM2.%{version}.tgz
|
Source0: https://sourceware.org/pub/lvm2/releases/LVM2.%{version}.tgz
|
||||||
@ -360,6 +363,7 @@ systemctl start lvm2-lvmpolld.socket >/dev/null 2>&1 || :
|
|||||||
%dir %{_sysconfdir}/lvm/backup
|
%dir %{_sysconfdir}/lvm/backup
|
||||||
%dir %{_sysconfdir}/lvm/cache
|
%dir %{_sysconfdir}/lvm/cache
|
||||||
%dir %{_sysconfdir}/lvm/archive
|
%dir %{_sysconfdir}/lvm/archive
|
||||||
|
%ghost %{_sysconfdir}/lvm/devices
|
||||||
%dir %{_default_locking_dir}
|
%dir %{_default_locking_dir}
|
||||||
%dir %{_default_run_dir}
|
%dir %{_default_run_dir}
|
||||||
%{_tmpfilesdir}/%{name}.conf
|
%{_tmpfilesdir}/%{name}.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user