Renumber sources

This commit is contained in:
Petr Písař 2012-04-12 16:05:14 +02:00
parent 8e9d1c3480
commit d6b9416560

View File

@ -6,9 +6,9 @@ Release: 3%{?dist}
License: BSD with advertising
Group: System Environment/Daemons
URL: http://www.litech.org/radvd/
Source: %{url}dist/%{name}-%{version}.tar.gz
Source2: radvd-tmpfs.conf
Source3: radvd.service
Source0: %{url}dist/%{name}-%{version}.tar.gz
Source1: radvd-tmpfs.conf
Source2: radvd.service
# Bug #811997, fixed in upstream after 1.8.5
Patch0: radvd-1.8.5-Use-libdaemon-for-daemonization.patch
# Bug #811997, fixed in upstream after 1.8.5
@ -70,8 +70,8 @@ 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 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/radvd.conf
install -m 644 %{SOURCE3} ${RPM_BUILD_ROOT}%{_unitdir}
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/tmpfiles.d/radvd.conf
install -m 644 %{SOURCE2} ${RPM_BUILD_ROOT}%{_unitdir}
%postun
/bin/systemctl daemon-reload >/dev/null 2>&1 || :