From d6b9416560be91f6233d00441b27267eb6049fe8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 12 Apr 2012 16:05:14 +0200 Subject: [PATCH] Renumber sources --- radvd.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/radvd.spec b/radvd.spec index cb4f5b2..d2fadc0 100644 --- a/radvd.spec +++ b/radvd.spec @@ -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 || :