- add missing %pre section, specify all sockets and services in

all 4 calls.

OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=94
This commit is contained in:
Marcus Meissner 2014-05-28 14:36:11 +00:00 committed by Git OBS Bridge
parent 95b1851b95
commit 72a7ec1da0
2 changed files with 5 additions and 6 deletions

View File

@ -1,7 +1,8 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 28 14:34:04 UTC 2014 - meissner@suse.com Wed May 28 14:34:04 UTC 2014 - meissner@suse.com
- add missing %pre section - add missing %pre section, specify all sockets and services in
all 4 calls.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon May 12 08:11:08 UTC 2014 - lwang@suse.com Mon May 12 08:11:08 UTC 2014 - lwang@suse.com

View File

@ -245,14 +245,12 @@ mv README.csm-converter ..
popd popd
%pre %pre
%service_add_pre blk-availability.service lvm2-monitor.service %service_add_pre blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
%service_add_pre lvm2-lvmetad.socket
%post %post
/sbin/ldconfig /sbin/ldconfig
%{?regenerate_initrd_post} %{?regenerate_initrd_post}
%service_add_post blk-availability.service lvm2-monitor.service %service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service
%service_add_post lvm2-lvmetad.socket
%posttrans %posttrans
%{?regenerate_initrd_posttrans} %{?regenerate_initrd_posttrans}
@ -262,7 +260,7 @@ popd
%postun %postun
/sbin/ldconfig /sbin/ldconfig
%service_del_postun lvm2-lvmetad.service %service_del_postun lvm2-lvmetad.service blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket
%files %files
%defattr(-,root,root) %defattr(-,root,root)