SHA256
1
0
forked from pool/vpnc
Dominique Leuenberger 2020-05-16 20:25:16 +00:00 committed by Git OBS Bridge
commit d5f7f03c19
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 7 08:34:48 UTC 2020 - pgajdos@suse.com
- %{_libexecdir} now expands to /usr/libexec, so do not use it
where /usr/lib was intended; use %{_tmpfilesdir} in this case
instead
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 19 21:08:21 UTC 2019 - suse+build@de-korte.org Tue Feb 19 21:08:21 UTC 2019 - suse+build@de-korte.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package vpnc # spec file for package vpnc
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -25,7 +25,7 @@ Release: 0
Summary: A Client for Cisco VPN concentrator Summary: A Client for Cisco VPN concentrator
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Url: http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel URL: http://svn.unix-ag.uni-kl.de/vpnc/branches/vpnc-nortel
Source: %{name}-%{version}.tar.bz2 Source: %{name}-%{version}.tar.bz2
# only for checkin warnings... # only for checkin warnings...
Source1: checkout_svn.sh Source1: checkout_svn.sh
@ -73,7 +73,7 @@ make install \
rm -rfv %{buildroot}%{_datadir}/doc/vpnc rm -rfv %{buildroot}%{_datadir}/doc/vpnc
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
install -D -m 0644 $RPM_SOURCE_DIR/%{name}.service %{buildroot}/%{_unitdir}/%{name}@.service install -D -m 0644 $RPM_SOURCE_DIR/%{name}.service %{buildroot}/%{_unitdir}/%{name}@.service
install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_libexecdir}/tmpfiles.d/%{name}.conf install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_tmpfilesdir}/%{name}.conf
%endif %endif
sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc
@ -84,7 +84,7 @@ sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc
%post %post
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
%tmpfiles_create %{_libexecdir}/tmpfiles.d/%{name}.conf %tmpfiles_create %{_tmpfilesdir}/%{name}.conf
%service_add_post %{name}@.service %service_add_post %{name}@.service
%endif %endif
@ -114,7 +114,7 @@ sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc
%{_mandir}/man8/vpnc.8.* %{_mandir}/man8/vpnc.8.*
%if 0%{?suse_version} >= 1210 %if 0%{?suse_version} >= 1210
%{_unitdir}/%{name}@.service %{_unitdir}/%{name}@.service
%{_libexecdir}/tmpfiles.d/%{name}.conf %{_tmpfilesdir}/%{name}.conf
%endif %endif
%doc ChangeLog README TODO VERSION %doc ChangeLog README TODO VERSION
%license COPYING %license COPYING