[udev: 6/8] removed libxslt buildreq and touch man pages, to prevent rebuild

Harald Hoyer harald at fedoraproject.org
Thu Mar 31 16:31:47 UTC 2011


commit cbf7ac132cb5c8c9c7169c763df6714c5ad45b17
Author: Harald Hoyer <harald at redhat.com>
Date:   Wed Mar 30 17:36:11 2011 +0200

    removed libxslt buildreq and touch man pages, to prevent rebuild

 udev.spec |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/udev.spec b/udev.spec
index 195364c..223ac87 100644
--- a/udev.spec
+++ b/udev.spec
@@ -38,7 +38,6 @@ BuildRequires: sed libselinux-devel >= 0:1.17.9-2 flex libsepol-devel
 BuildRequires: glib2-devel bison findutils 
 BuildRequires: gperf libtool
 BuildRequires: libusb-devel libacl-devel
-BuildRequires: libxslt
 BuildRequires: hwdata
 BuildRequires: gobject-introspection-devel >= 0.6.2
 BuildRequires: gtk-doc
@@ -117,6 +116,9 @@ glib-based applications using libudev functionality.
 %patch3 -p1 -b .git3
 
 %build
+# prevent man pages from re-building (xmlto)
+find . -name "*.[1-8]" -exec touch '{}' \;
+
 export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -fPIE -DPIE -pie -Wl,-z,relro -Wl,-z,now"
 
 # prevent man pages from re-building (xmlto)


More information about the scm-commits mailing list