Fix the build with latest rpmbuild

Add missing argument for %tmpfiles_create as rpmbuild is now more
strict and errors out for missing arguments.

https://bugzilla.redhat.com/show_bug.cgi?id=1736075
This commit is contained in:
Kalev Lember 2019-10-30 22:42:29 +01:00
parent 8948c23744
commit 3611be2540

View File

@ -10,7 +10,7 @@
Summary: A library for locking devices Summary: A library for locking devices
Name: lockdev Name: lockdev
Version: 1.0.4 Version: 1.0.4
Release: 0.31.%{checkout}%{?dist} Release: 0.32.%{checkout}%{?dist}
License: LGPLv2 License: LGPLv2
URL: https://alioth.debian.org/projects/lockdev/ URL: https://alioth.debian.org/projects/lockdev/
@ -92,7 +92,7 @@ getent group lock >/dev/null 2>&1 || groupadd -g 54 -r -f lock >/dev/null 2>&1 |
%post %post
if [ $1 -eq 1 ] ; then if [ $1 -eq 1 ] ; then
# for the time until first reboot # for the time until first reboot
%tmpfiles_create %tmpfiles_create lockdev.conf
fi fi
%files %files
@ -111,6 +111,9 @@ fi
%{_includedir}/* %{_includedir}/*
%changelog %changelog
* Wed Oct 30 2019 Kalev Lember <klember@redhat.com> - 1.0.4-0.32.20111007git
- Fix the build with latest rpmbuild (#1736075)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.31.20111007git * Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-0.31.20111007git
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild