From d14dae0197a4fa4fa1f42531576f23b0d92bca29 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Oct 03 2018 20:15:53 +0000 Subject: Fix mode of /run/libgpod in tmpfiles.d config, use /run consistently The mode of /run/libgpod was inadvertently set to 0644 in 1c6b028 ("Fix use of temp files (rhbz#840183), minor other cleanups", 2015-02-11). Fix this and simply use the tmpfiles.d defaults for mode, uid, and gid. Replace mixed usage of of /run and /var/run with /run for consistency. Drop redundant 'mkdir -p %{buildroot}/run' command; install -d creates all leading path components. --- diff --git a/libgpod.spec b/libgpod.spec index cbeb070..ea385ef 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -13,7 +13,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 25%{?dist} +Release: 26%{?dist} License: LGPLv2+ URL: http://www.gtkpod.org/libgpod.html Source0: http://downloads.sourceforge.net/gtkpod/%{name}-%{version}.tar.bz2 @@ -146,10 +146,8 @@ rm -f %{buildroot}/%{_libdir}/pkgconfig/%{name}-sharp.pc # Setup tmpfiles.d config mkdir -p %{buildroot}%{_tmpfilesdir} -echo "D /var/run/%{name} 0644 root root -" > \ - %{buildroot}%{_tmpfilesdir}/%{name}.conf +echo "D /run/%{name} - - - -" > %{buildroot}%{_tmpfilesdir}/%{name}.conf -mkdir -p %{buildroot}/run install -d -m 0755 %{buildroot}/run/%{name}/ # remove static libs and libtool archives @@ -192,6 +190,9 @@ find %{buildroot} -type f -name "*.a" -delete %endif %changelog +* Wed Oct 03 2018 Todd Zullinger - 0.8.3-26 +- Fix mode of /run/libgpod in tmpfiles.d config, use /run + * Fri Sep 28 2018 Gwyn Ciesla - 0.8.3-25 - Drop python2.