From 72a7ec1da0e1a7ee74a8a5f428f2e824be27212e5f54b9ce2b76ff4685bb7c55 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 28 May 2014 14:36:11 +0000 Subject: [PATCH] - 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 --- lvm2.changes | 3 ++- lvm2.spec | 8 +++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lvm2.changes b/lvm2.changes index e415c33..428fd79 100644 --- a/lvm2.changes +++ b/lvm2.changes @@ -1,7 +1,8 @@ ------------------------------------------------------------------- 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 diff --git a/lvm2.spec b/lvm2.spec index df89590..eed307c 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -245,14 +245,12 @@ mv README.csm-converter .. popd %pre -%service_add_pre blk-availability.service lvm2-monitor.service -%service_add_pre 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 -%service_add_post lvm2-lvmetad.socket +%service_add_post blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket lvm2-lvmetad.service %posttrans %{?regenerate_initrd_posttrans} @@ -262,7 +260,7 @@ popd %postun /sbin/ldconfig -%service_del_postun lvm2-lvmetad.service +%service_del_postun lvm2-lvmetad.service blk-availability.service lvm2-monitor.service lvm2-lvmetad.socket %files %defattr(-,root,root)