[ypserv] Some minor spec file clean up

Honza Horak hhorak at fedoraproject.org
Mon Sep 3 06:55:11 UTC 2012


commit 9103b8c631ce8c1eaa389ed6101585cd2e33e907
Author: Honza HorĂ¡k <hhorak at redhat.com>
Date:   Mon Sep 3 08:54:44 2012 +0200

    Some minor spec file clean up

 ypserv.spec |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/ypserv.spec b/ypserv.spec
index 1cf70b8..7735a31 100644
--- a/ypserv.spec
+++ b/ypserv.spec
@@ -86,8 +86,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fpic"
 make
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 #make install ROOT=$RPM_BUILD_ROOT
 %makeinstall libexecdir=$RPM_BUILD_ROOT%{_libdir}/yp INSTALL_PROGRAM=install
 mkdir -p $RPM_BUILD_ROOT%{_unitdir}
@@ -177,7 +175,6 @@ NOPUSH=true make -eC /var/yp >&2 || :
 /bin/domainname "$olddomain"
 
 %files
-%defattr(-,root,root)
 %doc AUTHORS README INSTALL ChangeLog TODO NEWS COPYING
 %doc etc/ypserv.conf etc/securenets etc/README.etc
 %doc etc/netgroup etc/locale etc/netmasks etc/timezone
@@ -195,6 +192,7 @@ NOPUSH=true make -eC /var/yp >&2 || :
 * Mon Sep 03 2012 Honza Horak <hhorak at redhat.com> - 2.29-1
 - Update to new upstream version that fix memory leaks (Related: #845283)
 - Use sdnotify to inform systemd that daemons are ready
+- Some minor spec file clean up
 
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.28-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild


More information about the scm-commits mailing list