Accepting request 280854 from home:pluskalm:branches:Base:System
- Re-add lvm2-lvmetad.service to %service_add_pre/post - Add service registrations for cmirrord and clvm - Correct category for device-mapper-devel OBS-URL: https://build.opensuse.org/request/show/280854 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=119
This commit is contained in:
parent
ce9cbdb4eb
commit
4d1bbc90c8
@ -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
|
Thu Jan 8 15:21:17 UTC 2015 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
30
lvm2.spec
30
lvm2.spec
@ -247,22 +247,22 @@ pushd thin-provisioning-tools-%{thin_provisioning_version}
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
%pre
|
%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
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%{?regenerate_initrd_post}
|
%{?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
|
%posttrans
|
||||||
%{?regenerate_initrd_posttrans}
|
%{?regenerate_initrd_posttrans}
|
||||||
|
|
||||||
%preun
|
%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
|
%postun
|
||||||
/sbin/ldconfig
|
/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
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -328,7 +328,17 @@ Group: Productivity/Clustering/HA
|
|||||||
%description clvm
|
%description clvm
|
||||||
A daemon for using LVM2 Logival Volumes in a clustered environment.
|
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
|
%files clvm
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -359,7 +369,17 @@ Group: Productivity/Clustering/HA
|
|||||||
%description cmirrord
|
%description cmirrord
|
||||||
A daemon for using LVM2 Logival Volumes in a clustered environment.
|
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
|
%files cmirrord
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -457,7 +477,7 @@ mapper.
|
|||||||
|
|
||||||
%package -n device-mapper-devel
|
%package -n device-mapper-devel
|
||||||
Summary: Development package for the device mapper
|
Summary: Development package for the device mapper
|
||||||
Group: System/Base
|
Group: Development/Libraries/C and C++
|
||||||
Version: %{device_mapper_version}
|
Version: %{device_mapper_version}
|
||||||
Release: 0
|
Release: 0
|
||||||
Requires: device-mapper = %{device_mapper_version}
|
Requires: device-mapper = %{device_mapper_version}
|
||||||
|
Loading…
Reference in New Issue
Block a user