prevent problematic check from being rebuilt

This commit is contained in:
Nils Philippsen 2012-04-03 12:26:19 +02:00
parent a63c5c775b
commit 83179e666b

View File

@ -6,7 +6,7 @@
Summary: A dynamic, any to any, pixel format conversion library Summary: A dynamic, any to any, pixel format conversion library
Name: babl Name: babl
Version: 0.1.10 Version: 0.1.10
Release: 2%{?dist} Release: 3%{?dist}
# Compute some version related macros # Compute some version related macros
# Ugly hack, you need to get your quoting backslashes/percent signs straight # 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 pushd tests
for problematic in %skip_checks; do for problematic in %skip_checks; do
rm -f "$problematic" rm -f "$problematic"
ln -s %{_bindir}/true "$problematic" cat << EOF > "$problematic"
#!/bin/sh
:
EOF
chmod +x "$problematic"
done done
popd popd
%endif %endif
@ -114,6 +118,9 @@ rm -rf %{buildroot}
%doc %{develdocdir} %doc %{develdocdir}
%changelog %changelog
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-3
- prevent problematic check from being rebuilt
* Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-2 * Tue Apr 03 2012 Nils Philippsen <nils@redhat.com> - 0.1.10-2
- fix typo which caused problematic check not to be skipped - fix typo which caused problematic check not to be skipped