Accepting request 946279 from home:olh:branches:network
- remove instance units from post scripts, they can not be reloaded OBS-URL: https://build.opensuse.org/request/show/946279 OBS-URL: https://build.opensuse.org/package/show/network/vpnc?expand=0&rev=91
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 10 16:16:16 UTC 2022 - olaf@aepfle.de
|
||||
|
||||
- remove instance units from post scripts, they can not be reloaded
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 7 08:34:48 UTC 2020 - pgajdos@suse.com
|
||||
|
||||
|
14
vpnc.spec
14
vpnc.spec
@@ -77,25 +77,15 @@ install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_tmpfilesdir}/%{n
|
||||
%endif
|
||||
sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc
|
||||
|
||||
%pre
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_add_pre %{name}@.service
|
||||
%endif
|
||||
|
||||
%post
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%tmpfiles_create %{_tmpfilesdir}/%{name}.conf
|
||||
%service_add_post %{name}@.service
|
||||
%endif
|
||||
|
||||
%preun
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_preun %{name}@.service
|
||||
%service_add_post
|
||||
%endif
|
||||
|
||||
%postun
|
||||
%if 0%{?suse_version} >= 1210
|
||||
%service_del_postun %{name}@.service
|
||||
%service_del_postun
|
||||
%endif
|
||||
|
||||
%files
|
||||
|
Reference in New Issue
Block a user