[xorg-x11-docs] drop release spec from docdir

Dave Airlie airlied at fedoraproject.org
Tue Nov 29 13:16:35 UTC 2011


commit 4b714db48efa8f98b4cc847e70d3cbb9e24d3d17
Author: Dave Airlie <airlied at redhat.com>
Date:   Tue Nov 29 13:14:58 2011 +0000

    drop release spec from docdir

 xorg-x11-docs.spec |    9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/xorg-x11-docs.spec b/xorg-x11-docs.spec
index 914d9ed..4ee463d 100644
--- a/xorg-x11-docs.spec
+++ b/xorg-x11-docs.spec
@@ -21,7 +21,7 @@ BuildRequires: xmlto >= 0.0.24-2
 BuildRequires: xmlto-tex fop
 BuildRequires: java-1.7.0-openjdk
 
-%define x11docdir %{_datadir}/doc/xorg-x11-docs-%{version}-%{release}
+%define x11docdir %{_datadir}/doc/xorg-x11-docs-%{version}
 
 %description
 Protocol and other technical documentation for the X.Org X11 X Window System
@@ -42,13 +42,6 @@ rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_mandir}/man7/Xprint.7*
 
-pushd $RPM_BUILD_ROOT%{x11docdir}
-
-rm -rf hardcopy/XPRINT
-rm -f hardcopy/Xserver/Xprt.PS.gz
-
-popd
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 


More information about the scm-commits mailing list