[babl/f17] prevent problematic check from being rebuilt

Nils Philippsen nphilipp at fedoraproject.org
Tue Apr 3 10:26:44 UTC 2012


commit 83179e666bc41b08605ec2e6c7ca3bb553c34091
Author: Nils Philippsen <nils at redhat.com>
Date:   Tue Apr 3 12:26:19 2012 +0200

    prevent problematic check from being rebuilt

 babl.spec |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/babl.spec b/babl.spec
index 6362e42..81b1f05 100644
--- a/babl.spec
+++ b/babl.spec
@@ -6,7 +6,7 @@
 Summary:	A dynamic, any to any, pixel format conversion library
 Name:		babl
 Version:	0.1.10
-Release:	2%{?dist}
+Release:	3%{?dist}
 
 # Compute some version related macros
 # Ugly hack, you need to get your quoting backslashes/percent signs straight
@@ -84,7 +84,11 @@ find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
 pushd tests
 for problematic in %skip_checks; do
     rm -f "$problematic"
-    ln -s %{_bindir}/true "$problematic"
+    cat << EOF > "$problematic"
+#!/bin/sh
+:
+EOF
+    chmod +x "$problematic"
 done
 popd
 %endif
@@ -114,6 +118,9 @@ rm -rf %{buildroot}
 %doc %{develdocdir}
 
 %changelog
+* Tue Apr 03 2012 Nils Philippsen <nils at redhat.com> - 0.1.10-3
+- prevent problematic check from being rebuilt
+
 * Tue Apr 03 2012 Nils Philippsen <nils at redhat.com> - 0.1.10-2
 - fix typo which caused problematic check not to be skipped
 


More information about the scm-commits mailing list