#984330 - use _tmpfilesdir macro instead of the old location

This commit is contained in:
Pavel Šimerda 2014-01-06 16:05:16 +01:00
parent 402e3c9c9c
commit de085239b2

View File

@ -1,7 +1,7 @@
Summary: A Router Advertisement daemon Summary: A Router Advertisement daemon
Name: radvd Name: radvd
Version: 1.9.7 Version: 1.9.7
Release: 1%{?dist} Release: 2%{?dist}
# The code includes the advertising clause, so it's GPL-incompatible # The code includes the advertising clause, so it's GPL-incompatible
License: BSD with advertising License: BSD with advertising
Group: System Environment/Daemons 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.conf.empty $RPM_BUILD_ROOT%{_sysconfdir}/radvd.conf
install -m 644 redhat/radvd.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/radvd install -m 644 redhat/radvd.sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/radvd
install -d -m 755 $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d install -d -m 755 $RPM_BUILD_ROOT%{_tmpfilesdir}
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/radvd.conf install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_tmpfilesdir}/radvd.conf
install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir} install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir}
%postun %postun
@ -80,7 +80,7 @@ exit 0
%{_unitdir}/radvd.service %{_unitdir}/radvd.service
%config(noreplace) %{_sysconfdir}/radvd.conf %config(noreplace) %{_sysconfdir}/radvd.conf
%config(noreplace) %{_sysconfdir}/sysconfig/radvd %config(noreplace) %{_sysconfdir}/sysconfig/radvd
%config(noreplace) %{_sysconfdir}/tmpfiles.d/radvd.conf %{_tmpfilesdir}/radvd.conf
%dir %attr(-,radvd,radvd) %{_localstatedir}/run/radvd/ %dir %attr(-,radvd,radvd) %{_localstatedir}/run/radvd/
%doc radvd.conf.example %doc radvd.conf.example
%{_mandir}/*/* %{_mandir}/*/*
@ -88,6 +88,9 @@ exit 0
%{_sbindir}/radvdump %{_sbindir}/radvdump
%changelog %changelog
* Mon Jan 06 2014 Pavel Šimerda <psimerda@redhat.com> - 1.9.7-2
- #984330 - use _tmpfilesdir macro instead of the old location
* Mon Jan 06 2014 Pavel Šimerda <psimerda@redhat.com> - 1.9.7-1 * Mon Jan 06 2014 Pavel Šimerda <psimerda@redhat.com> - 1.9.7-1
- 1.9.7 bump - 1.9.7 bump