From 6b723c8c540d32fa41dda10180738f2b4b97e0a0c5a7b01d3040fdc8c3c24d5b Mon Sep 17 00:00:00 2001 From: Lee Duncan Date: Mon, 19 May 2014 18:32:02 +0000 Subject: [PATCH] Accepting request 233879 from home:msmeissn:branches:Base:System - add missed %service_add_pre in %pre section OBS-URL: https://build.opensuse.org/request/show/233879 OBS-URL: https://build.opensuse.org/package/show/Base:System/tgt?expand=0&rev=24 --- tgt.changes | 5 +++++ tgt.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/tgt.changes b/tgt.changes index 9533c70..68f4187 100644 --- a/tgt.changes +++ b/tgt.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 14 14:20:38 UTC 2014 - meissner@suse.com + +- add missed %service_add_pre in %pre section + ------------------------------------------------------------------- Wed Feb 26 12:57:52 CET 2014 - hare@suse.de diff --git a/tgt.spec b/tgt.spec index 8b20771..b09f88a 100644 --- a/tgt.spec +++ b/tgt.spec @@ -74,6 +74,9 @@ install -vD -m 755 %{S:1} %{buildroot}/%{_unitdir}/%{name}d.service install -vD %{S:3} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/tgt ln -sf service %{buildroot}/usr/sbin/rc%{name} +%pre +%service_add_pre %{name}d.service + %post %{fillup_only} %service_add_post %{name}d.service