Fix %pre scriptlet

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-07-26 19:05:37 +02:00
parent e496bf0e23
commit 6dcbc02fef

View File

@ -13,7 +13,7 @@
Name: dnsmasq
Version: 2.79
Release: 4%{?extraversion:.%{extraversion}}%{?dist}
Release: 5%{?extraversion:.%{extraversion}}%{?dist}
Summary: A lightweight DHCP/caching DNS server
License: GPLv2 or GPLv3
@ -128,7 +128,7 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/dnsmasq.conf
%pre
#precreate users so that rpm can install files owned by that user
%sysusers_create_inline '%(cat %{SOURCE2})'
%sysusers_create_inline %(cat %{SOURCE2})
%post
#https://fedoraproject.org/wiki/Changes/SystemdSysusers
@ -163,6 +163,9 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_sysusersdir}/dnsmasq.conf
%{_mandir}/man1/dhcp_*
%changelog
* Thu Jul 26 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.79-5
- Fix %%pre scriptlet (#1548050)
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.79-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild