SHA256
1
0
forked from pool/vpnc

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:
2022-01-14 12:38:07 +00:00
committed by Git OBS Bridge
parent 7c0d3331c7
commit 79a051bc22
2 changed files with 7 additions and 12 deletions

View File

@@ -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

View File

@@ -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