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.
This commit is contained in:
parent
b93adbcb4d
commit
d14dae0197
@ -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 <tmz@pobox.com> - 0.8.3-26
|
||||
- Fix mode of /run/libgpod in tmpfiles.d config, use /run
|
||||
|
||||
* Fri Sep 28 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.8.3-25
|
||||
- Drop python2.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user