[libdmapsharing] Spec file cleanup for recent rpmbuild

Kalev Lember kalev at fedoraproject.org
Sun Apr 7 14:19:03 UTC 2013


commit f009d6b7eea5136035973e7878efc7e0909fad38
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sun Apr 7 13:27:11 2013 +0200

    Spec file cleanup for recent rpmbuild

 libdmapsharing.spec |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/libdmapsharing.spec b/libdmapsharing.spec
index 054147e..80f480a 100644
--- a/libdmapsharing.spec
+++ b/libdmapsharing.spec
@@ -3,7 +3,6 @@ Version: 2.9.14
 Release: 4%{?dist}
 License: LGPLv2+
 Source: http://www.flyn.org/projects/libdmapsharing/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 URL: http://www.flyn.org/projects/libdmapsharing/
 Summary: A DMAP client and server library
 Group: Development/Libraries
@@ -15,7 +14,6 @@ libdmapsharing implements the DMAP protocols. This includes support for
 DAAP and DPAP.
 
 %files 
-%defattr(-, root, root, -)
 %{_libdir}/libdmapsharing-3.0.so.*
 %doc AUTHORS COPYING ChangeLog NEWS README
 
@@ -31,14 +29,12 @@ DAAP and DPAP.  This package provides the libraries, include files, and
 other resources needed for developing applications using libdmapsharing.
 
 %files devel
-%defattr(-, root, root, -)
 %{_libdir}/pkgconfig/libdmapsharing-3.0.pc
 %{_includedir}/libdmapsharing-3.0/
 %{_libdir}/libdmapsharing-3.0.so
 %{_datadir}/gtk-doc/html/libdmapsharing-3.0
 
 %prep
-
 %setup -q
 
 %build
@@ -46,13 +42,9 @@ other resources needed for developing applications using libdmapsharing.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 rm -f ${RPM_BUILD_ROOT}%{_libdir}/libdmapsharing-3.0.la
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig


More information about the scm-commits mailing list