diff --git a/lvm2.changes b/lvm2.changes index 85b66e2..11d8f25 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 12 08:33:14 UTC 2015 - mpluskal@suse.com + +- Re-add lvm2-lvmetad.service to %service_add_pre/post +- Add service registrations for cmirrord and clvm +- Correct category for device-mapper-devel + ------------------------------------------------------------------- Thu Jan 8 15:21:17 UTC 2015 - dimstar@opensuse.org diff --git a/lvm2.spec b/lvm2.spec index 623b78d..3935c6b 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -247,22 +247,22 @@ pushd thin-provisioning-tools-%{thin_provisioning_version} popd %pre -%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket +%service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %post /sbin/ldconfig %{?regenerate_initrd_post} -%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket +%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %posttrans %{?regenerate_initrd_posttrans} %preun -%service_del_preun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket +%service_del_preun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %postun /sbin/ldconfig -%service_del_postun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket +%service_del_postun blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %files %defattr(-,root,root) @@ -328,7 +328,17 @@ Group: Productivity/Clustering/HA %description clvm A daemon for using LVM2 Logival Volumes in a clustered environment. +%pre clvm +%service_add_pre lvm2-cluster-activation.service lvm2-clvmd.service +%post clvm +%service_add_post lvm2-cluster-activation.service lvm2-clvmd.service + +%preun clvm +%service_del_preun lvm2-cluster-activation.service lvm2-clvmd.service + +%postun clvm +%service_del_postun lvm2-cluster-activation.service lvm2-clvmd.service %files clvm %defattr(-,root,root) @@ -359,7 +369,17 @@ Group: Productivity/Clustering/HA %description cmirrord A daemon for using LVM2 Logival Volumes in a clustered environment. +%pre cmirrord +%service_add_pre lvm2-cmirrord.service lvm2-cluster-activation.service +%post cmirrord +%service_add_post lvm2-cmirrord.service lvm2-cluster-activation.service + +%preun cmirrord +%service_del_preun lvm2-cmirrord.service lvm2-cluster-activation.service + +%postun cmirrord +%service_del_postun lvm2-cmirrord.service lvm2-cluster-activation.service %files cmirrord %defattr(-,root,root) @@ -457,7 +477,7 @@ mapper. %package -n device-mapper-devel Summary: Development package for the device mapper -Group: System/Base +Group: Development/Libraries/C and C++ Version: %{device_mapper_version} Release: 0 Requires: device-mapper = %{device_mapper_version}