SHA256
1
0
forked from pool/vpnc

Accepting request 175194 from network

- packages must not install files in /etc/tmpfiles.d/ 
  which is reserved for the system administrator. (forwarded request 174867 from elvigia)

OBS-URL: https://build.opensuse.org/request/show/175194
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/vpnc?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2013-05-13 14:03:26 +00:00
committed by Git OBS Bridge
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu May 9 00:41:10 UTC 2013 - crrodriguez@opensuse.org
- packages must not install files in /etc/tmpfiles.d/
which is reserved for the system administrator.
-------------------------------------------------------------------
Sun Nov 25 18:40:46 UTC 2012 - tittiatcoke@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package vpnc
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -21,6 +21,7 @@ BuildRequires: gnutls
BuildRequires: libgcrypt-devel
BuildRequires: libgnutls-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig(systemd)
Version: 0.5.3r517
Release: 0
Summary: A Client for Cisco VPN concentrator
@@ -77,8 +78,7 @@ mkdir -p ${RPM_BUILD_ROOT}/%{_localstatedir}/run/vpnc
DESTDIR=${RPM_BUILD_ROOT} \
PREFIX=/usr
rm -rfv ${RPM_BUILD_ROOT}/usr/share/doc/vpnc
mkdir -p ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d
install -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_sysconfdir}/tmpfiles.d/
install -D -m 0644 %{SOURCE2} ${RPM_BUILD_ROOT}/%{_prefix}/lib/tmpfiles.d/vpnc.conf
%clean
rm -rf %{buildroot}
@@ -86,8 +86,7 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%attr(0600,root,root) %config(noreplace) %ghost %{_sysconfdir}/vpnc/default.conf
%dir %{_sysconfdir}/tmpfiles.d
%config %{_sysconfdir}/tmpfiles.d/vpnc.conf
%{_prefix}/lib/tmpfiles.d/vpnc.conf
%ghost %{_localstatedir}/run/vpnc
%dir %{_sysconfdir}/vpnc
%{_sysconfdir}/vpnc/vpnc-script