[radvd] #984330 - use _tmpfilesdir macro instead of the old location
Pavel Šimerda
pavlix at fedoraproject.org
Mon Jan 6 15:07:32 UTC 2014
commit de085239b27e2d3cbf5ce32f3c733f7af2535309
Author: Pavel Šimerda <pavlix at pavlix.net>
Date: Mon Jan 6 16:05:16 2014 +0100
#984330 - use _tmpfilesdir macro instead of the old location
radvd.spec | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/radvd.spec b/radvd.spec
index 284bcd3..411e698 100644
--- a/radvd.spec
+++ b/radvd.spec
@@ -1,7 +1,7 @@
Summary: A Router Advertisement daemon
Name: radvd
Version: 1.9.7
-Release: 1%{?dist}
+Release: 2%{?dist}
# The code includes the advertising clause, so it's GPL-incompatible
License: BSD with advertising
Group: System Environment/Daemons
@@ -55,8 +55,8 @@ mkdir -p $RPM_BUILD_ROOT%{_unitdir}
install -m 644 redhat/radvd.conf.empty $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
install -m 644 redhat/radvd.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/radvd
-install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d
-install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/radvd.conf
+install -d -m 755 $RPM_BUILD_ROOT%{_tmpfilesdir}
+install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/radvd.conf
install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir}
%postun
@@ -80,7 +80,7 @@ exit 0
%{_unitdir}/radvd.service
%config(noreplace) %{_sysconfdir}/radvd.conf
%config(noreplace) %{_sysconfdir}/sysconfig/radvd
-%config(noreplace) %{_sysconfdir}/tmpfiles.d/radvd.conf
+%{_tmpfilesdir}/radvd.conf
%dir %attr(-,radvd,radvd) %{_localstatedir}/run/radvd/
%doc radvd.conf.example
%{_mandir}/*/*
@@ -88,6 +88,9 @@ exit 0
%{_sbindir}/radvdump
%changelog
+* Mon Jan 06 2014 Pavel Šimerda <psimerda at redhat.com> - 1.9.7-2
+- #984330 - use _tmpfilesdir macro instead of the old location
+
* Mon Jan 06 2014 Pavel Šimerda <psimerda at redhat.com> - 1.9.7-1
- 1.9.7 bump
More information about the scm-commits
mailing list