Hello community, here is the log from the commit of package openvpn for openSUSE:Factory checked in at 2017-06-20 09:41:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/openvpn (Old) and /work/SRC/openSUSE:Factory/.openvpn.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "openvpn" Tue Jun 20 09:41:09 2017 rev:76 rq:504783 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/openvpn/openvpn.changes 2017-06-12 15:30:42.230982401 +0200 +++ /work/SRC/openSUSE:Factory/.openvpn.new/openvpn.changes 2017-06-20 09:41:10.277504005 +0200 @@ -1,0 +2,5 @@ +Wed Jun 14 12:05:14 CEST 2017 - n...@suse.de + +- use %{_tmpfilesdir} for tmpfiles.d/openvpn.conf (bsc#1044223) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ openvpn.spec ++++++ --- /var/tmp/diff_new_pack.arGeIw/_old 2017-06-20 09:41:11.105387278 +0200 +++ /var/tmp/diff_new_pack.arGeIw/_new 2017-06-20 09:41:11.105387278 +0200 @@ -180,12 +180,14 @@ %if %{with_systemd} rm %{buildroot}%{_libdir}/systemd/system/openvpn-client@.service rm %{buildroot}%{_libdir}/systemd/system/openvpn-server@.service +#use one proveded by suse +rm %{buildroot}%{_libdir}/tmpfiles.d/openvpn.conf install -D -m 644 %{name}.service %{buildroot}/%{_unitdir}/%{name}@.service install -D -m 644 $RPM_SOURCE_DIR/%{name}.target %{buildroot}/%{_unitdir}/%{name}.target install -D -m 755 $RPM_SOURCE_DIR/rc%{name} %{buildroot}%{_sbindir}/rc%{name} # tmpfiles.d -mkdir -p %{buildroot}%{_libdir}/tmpfiles.d -install -m 0644 $RPM_SOURCE_DIR/%{name}-tmpfile.conf %{buildroot}%{_libdir}/tmpfiles.d/%{name}.conf +mkdir -p %{buildroot}%{_tmpfilesdir} +install -m 0644 $RPM_SOURCE_DIR/%{name}-tmpfile.conf %{buildroot}%{_tmpfilesdir}/%{name}.conf %else install -D -m 755 $RPM_SOURCE_DIR/openvpn.init %{buildroot}/%{_sysconfdir}/init.d/openvpn ln -sv %{_sysconfdir}/init.d/openvpn %{buildroot}/%{_sbindir}/rcopenvpn @@ -204,7 +206,7 @@ %post %if %{with_systemd} -systemd-tmpfiles --create %{_libdir}/tmpfiles.d/%{name}.conf ||: +systemd-tmpfiles --create %{_tmpfilesdir}/%{name}.conf ||: %service_add_post %{name}.target # try to migrate openvpn.service autostart to openvpn@<CONF>.service if test ${FIRST_ARG:-$1} -ge 1 -a \ @@ -274,7 +276,7 @@ %dir %{_libdir}/tmpfiles.d %{_unitdir}/%{name}@.service %{_unitdir}/%{name}.target -%{_libdir}/tmpfiles.d/%{name}.conf +%{_tmpfilesdir}/%{name}.conf %dir %attr(0750,root,root) %ghost %{_rundir}/openvpn/ %else %config %{_sysconfdir}/init.d/openvpn