#984330 - use _tmpfilesdir macro instead of the old location
This commit is contained in:
parent
402e3c9c9c
commit
de085239b2
11
radvd.spec
11
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@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
|
||||
- 1.9.7 bump
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user