[pps-tools] remove obsolete macros

Miroslav Lichvar mlichvar at fedoraproject.org
Tue Apr 2 16:41:28 UTC 2013


commit 80622736d7bed49b865307a4d0583db0564adfc9
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Tue Apr 2 18:07:09 2013 +0200

    remove obsolete macros

 pps-tools.spec |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/pps-tools.spec b/pps-tools.spec
index 980fa5b..d90f9df 100644
--- a/pps-tools.spec
+++ b/pps-tools.spec
@@ -11,8 +11,6 @@ URL:		https://github.com/ago/pps-tools
 # git archive --prefix=pps-tools/ ac0aa6 | gzip > pps-tools-20120215gitac0aa6.tar.gz
 Source0:	pps-tools-20120215gitac0aa6.tar.gz
 
-BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
-
 %description
 This package includes the LinuxPPS user-space tools.
 
@@ -31,22 +29,16 @@ applications.
 CFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} 
 
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_includedir}/sys}
 install -m755 -t $RPM_BUILD_ROOT%{_bindir} ppsctl ppsfind ppstest ppswatch
 install -p -m644 -t $RPM_BUILD_ROOT%{_includedir} timepps.h
 ln -s ../timepps.h $RPM_BUILD_ROOT%{_includedir}/sys
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root,-)
 %doc COPYING debian/README debian/copyright
 %{_bindir}/pps*
 
 %files devel
-%defattr(-,root,root,-)
 %{_includedir}/timepps.h
 %{_includedir}/sys/timepps.h
 


More information about the scm-commits mailing list