Fix broken lvm2-sysinit Requires: lvm2 dependency.
This commit is contained in:
parent
4f75fb47b9
commit
87656c0a2d
42
lvm2.spec
42
lvm2.spec
@ -39,7 +39,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
Version: 2.02.86
|
Version: 2.02.86
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -399,6 +399,26 @@ fi
|
|||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# Legacy SysV init subpackage
|
||||||
|
##############################################################################
|
||||||
|
%if %{enable_systemd}
|
||||||
|
|
||||||
|
%package sysvinit
|
||||||
|
Summary: SysV style init script for LVM2.
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Requires: initscripts
|
||||||
|
|
||||||
|
%description sysvinit
|
||||||
|
SysV style init script for LVM2. It needs to be installed only if systemd
|
||||||
|
is not used as the system init process.
|
||||||
|
|
||||||
|
%files sysvinit
|
||||||
|
%{_sysconfdir}/rc.d/init.d/lvm2-monitor
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Device-mapper subpackages
|
# Device-mapper subpackages
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@ -562,24 +582,10 @@ the device-mapper event library.
|
|||||||
%{_includedir}/libdevmapper-event.h
|
%{_includedir}/libdevmapper-event.h
|
||||||
/usr%{_libdir}/pkgconfig/devmapper-event.pc
|
/usr%{_libdir}/pkgconfig/devmapper-event.pc
|
||||||
|
|
||||||
|
|
||||||
%if %{enable_systemd}
|
|
||||||
# Legacy SysV init script
|
|
||||||
%package sysvinit
|
|
||||||
Summary: SysV style init script for LVM2.
|
|
||||||
Group: System Environment/Base
|
|
||||||
Requires: %{name} = %{version-release}
|
|
||||||
Requires: initscripts
|
|
||||||
|
|
||||||
%description sysvinit
|
|
||||||
SysV style init script for LVM2. It needs to be installed only if systemd
|
|
||||||
is not used as the system init process.
|
|
||||||
|
|
||||||
%files sysvinit
|
|
||||||
%{_sysconfdir}/rc.d/init.d/lvm2-monitor
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 20 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-3
|
||||||
|
- Fix broken lvm2-sysinit Requires: lvm2 dependency.
|
||||||
|
|
||||||
* Mon Jul 18 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-2
|
* Mon Jul 18 2011 Peter Rajnoha <prajnoha@redhat.com> - 2.02.86-2
|
||||||
- Add dm-event and lvm2-monitor unit files for use with systemd.
|
- Add dm-event and lvm2-monitor unit files for use with systemd.
|
||||||
- Add sysvinit subpackage for legacy SysV init script support.
|
- Add sysvinit subpackage for legacy SysV init script support.
|
||||||
|
Loading…
Reference in New Issue
Block a user