[rarpd] Minor spec file changes

Honza Horak hhorak at fedoraproject.org
Tue Sep 11 11:20:01 UTC 2012


commit b74939e105c3978bb4195772a8931d5413fe3f7e
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Tue Sep 11 12:30:33 2012 +0200

    Minor spec file changes

 rarpd.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/rarpd.spec b/rarpd.spec
index 83b2a96..9e3bd28 100644
--- a/rarpd.spec
+++ b/rarpd.spec
@@ -1,7 +1,7 @@
 Summary: The RARP daemon
 Name: rarpd
 Version: ss981107
-Release: 35%{?dist}
+Release: 36%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 Source: ftp://ftp.inr.ac.ru/ip-routing/dhcp.bootp.rarp/rarpd-%{version}.tar.gz
@@ -14,7 +14,6 @@ Requires(preun): systemd-units
 Requires(postun): systemd-units
 Requires(post): systemd-sysv
 BuildRequires: systemd-units
-Buildroot: %{_tmppath}/%{name}-%{version}-root
 
 %description
 RARP (Reverse Address Resolution Protocol) is a protocol which allows
@@ -43,7 +42,6 @@ export LDFLAGS="-pie"
 make CFLAGS="$CFLAGS"
 
 %install
-rm -rf ${RPM_BUILD_ROOT}
 mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
 mkdir -p ${RPM_BUILD_ROOT}%{_sbindir}
 mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
@@ -52,9 +50,6 @@ install -m 644 %{SOURCE1} ${RPM_BUILD_ROOT}%{_unitdir}/rarpd.service
 install -m 755 rarpd ${RPM_BUILD_ROOT}%{_sbindir}/rarpd
 install -m 644 rarpd.8 ${RPM_BUILD_ROOT}%{_mandir}/man8/rarpd.8
 
-%clean
-rm -rf ${RPM_BUILD_ROOT}
-
 %post
 if [ $1 = 1 ]; then
     /bin/systemctl daemon-reload >/dev/null 2>&1 || :
@@ -81,13 +76,15 @@ if [ $1 -ge 1 ]; then
 fi
 
 %files
-%defattr(-,root,root)
 %doc README
 %{_sbindir}/rarpd
 %{_mandir}/man8/*
 %{_unitdir}/*
 
 %changelog
+* Tue Sep 11 2012 Honza Horak <hhorak at redhat.com> - ss981107-36
+- Minor spec file changes
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - ss981107-35
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list