From 7c0d3331c7dd48cd038370a9042f827b13af36a0457a8370f5e6a20cb947f079 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 15 May 2020 07:01:13 +0000 Subject: [PATCH] Accepting request 800983 from home:pgajdos:libexec - %{_libexecdir} now expands to /usr/libexec, so do not use it where /usr/lib was intended; use %{_tmpfilesdir} in this case instead OBS-URL: https://build.opensuse.org/request/show/800983 OBS-URL: https://build.opensuse.org/package/show/network/vpnc?expand=0&rev=89 --- vpnc.changes | 7 +++++++ vpnc.spec | 10 +++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/vpnc.changes b/vpnc.changes index 22f334f..dd217a7 100644 --- a/vpnc.changes +++ b/vpnc.changes @@ -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 diff --git a/vpnc.spec b/vpnc.spec index 35c74e9..c62a40a 100644 --- a/vpnc.spec +++ b/vpnc.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -25,7 +25,7 @@ Release: 0 Summary: A Client for Cisco VPN concentrator License: GPL-2.0-or-later 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 # only for checkin warnings... Source1: checkout_svn.sh @@ -73,7 +73,7 @@ make install \ rm -rfv %{buildroot}%{_datadir}/doc/vpnc %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}.conf %{buildroot}/%{_libexecdir}/tmpfiles.d/%{name}.conf +install -D -m 0644 $RPM_SOURCE_DIR/%{name}.conf %{buildroot}/%{_tmpfilesdir}/%{name}.conf %endif 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 %if 0%{?suse_version} >= 1210 -%tmpfiles_create %{_libexecdir}/tmpfiles.d/%{name}.conf +%tmpfiles_create %{_tmpfilesdir}/%{name}.conf %service_add_post %{name}@.service %endif @@ -114,7 +114,7 @@ sed -i -e '1c#!/usr/bin/perl' %{buildroot}%{_bindir}/pcf2vpnc %{_mandir}/man8/vpnc.8.* %if 0%{?suse_version} >= 1210 %{_unitdir}/%{name}@.service -%{_libexecdir}/tmpfiles.d/%{name}.conf +%{_tmpfilesdir}/%{name}.conf %endif %doc ChangeLog README TODO VERSION %license COPYING