From 6ccdf2c7ba84d6e8176e859dbf18ef8cd4109a68 Mon Sep 17 00:00:00 2001 From: Todd Zullinger Date: Feb 19 2019 17:02:56 +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 645df99..908605f 100644 --- a/libgpod.spec +++ b/libgpod.spec @@ -18,7 +18,7 @@ Summary: Library to access the contents of an iPod Name: libgpod Version: 0.8.3 -Release: 24%{?dist} +Release: 25%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://www.gtkpod.org/libgpod.html @@ -173,8 +173,7 @@ 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}/ @@ -225,6 +224,9 @@ find %{buildroot} -type f -name "*.a" -delete %endif %changelog +* Tue Feb 19 2019 Gwyn Ciesla - 0.8.3-25 +- Backport tmpdir fix. + * Tue Jul 24 2018 Christophe Fergeau - 0.8.3-24 - Fix build with python2