[xorg-x11-xbitmaps] - Merge review cleanups (#226649)

paragn paragn at fedoraproject.org
Mon Sep 27 10:37:27 UTC 2010


commit ae10b70819efaa8f378cb9e2b30dafd6bcf84798
Author: paragn <paragn at fedoraproject.org>
Date:   Mon Sep 27 16:11:51 2010 +0530

    - Merge review cleanups (#226649)

 xorg-x11-xbitmaps.spec |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/xorg-x11-xbitmaps.spec b/xorg-x11-xbitmaps.spec
index 9401e5a..ee0c2f8 100644
--- a/xorg-x11-xbitmaps.spec
+++ b/xorg-x11-xbitmaps.spec
@@ -5,7 +5,7 @@
 Summary: X.Org X11 application bitmaps
 Name: xorg-x11-%{pkgname}
 Version: 1.1.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: MIT
 Group: User Interface/X
 URL: http://www.x.org
@@ -13,6 +13,8 @@ BuildArch: noarch
 
 Source0: ftp://ftp.x.org/pub/individual/data/xbitmaps-%{version}.tar.bz2
 
+# FIXME:These old provides should be removed and
+# virtual provide %{name}-devel can be added.
 Provides: xbitmaps
 Provides: xbitmaps-devel
 
@@ -29,12 +31,7 @@ sed -i 's/^libdir.*//' *.pc.in
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
-make install DESTDIR=$RPM_BUILD_ROOT
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
 
 %files
 %defattr(-,root,root,-)


More information about the scm-commits mailing list