2.38.1-2: improve tmpfiles.d use
This commit is contained in:
parent
c96992b25e
commit
260ccc24c5
@ -2,7 +2,7 @@
|
||||
Summary: Collection of basic system utilities
|
||||
Name: util-linux
|
||||
Version: 2.38.1
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2 and GPLv2+ and LGPLv2+ and BSD with advertising and Public Domain
|
||||
URL: https://en.wikipedia.org/wiki/Util-linux
|
||||
|
||||
@ -335,13 +335,13 @@ mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man{1,6,8,5}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/{pam.d,security/console.apps}
|
||||
mkdir -p ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}/tmpfiles.d
|
||||
|
||||
# install util-linux
|
||||
%make_install
|
||||
|
||||
# And a dirs uuidd needs that the makefiles don't create
|
||||
install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}/usr/lib/tmpfiles.d/uuidd.conf
|
||||
install -m 644 %{SOURCE4} ${RPM_BUILD_ROOT}%{_tmpfilesdir}/uuidd.conf
|
||||
install -d ${RPM_BUILD_ROOT}/run/uuidd
|
||||
install -d ${RPM_BUILD_ROOT}/var/lib/libuuid
|
||||
|
||||
@ -838,7 +838,7 @@ fi
|
||||
%dir %attr(2775, uuidd, uuidd) /var/lib/libuuid
|
||||
%dir %attr(2775, uuidd, uuidd) /run/uuidd
|
||||
%{compldir}/uuidd
|
||||
/usr/lib/tmpfiles.d/uuidd.conf
|
||||
%{_tmpfilesdir}/uuidd.conf
|
||||
|
||||
|
||||
%files -n libfdisk
|
||||
@ -909,6 +909,9 @@ fi
|
||||
%{_libdir}/python*/site-packages/libmount/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2022 Karel Zak <kzak@redhat.com> - 2.38.1-2
|
||||
- improve tmpfiles.d use in spec file
|
||||
|
||||
* Thu Aug 4 2022 Karel Zak <kzak@redhat.com> - 2.38.1-1
|
||||
- upgrade to v2.38.1
|
||||
https://kernel.org/pub/linux/utils/util-linux/v2.38/v2.38.1-ReleaseNotes
|
||||
|
Loading…
Reference in New Issue
Block a user