[cairo] Enable make check but don't (currently) fail the build on failure

Peter Robinson pbrobinson at fedoraproject.org
Fri Jul 11 11:40:10 UTC 2014


commit 195eca0dae60e3b35320bafe00ad467ad788c5f5
Author: Peter Robinson <pbrobinson at gmail.com>
Date:   Fri Jul 11 12:40:27 2014 +0100

    Enable make check but don't (currently) fail the build on failure

 cairo.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/cairo.spec b/cairo.spec
index 2d7fdbb..9b0b6cf 100644
--- a/cairo.spec
+++ b/cairo.spec
@@ -7,7 +7,7 @@
 Summary:	A 2D graphics library
 Name:		cairo
 Version:	1.13.1
-Release:	0.2.git%{shortcommit}%{?dist}
+Release:	0.3.git%{shortcommit}%{?dist}
 URL:		http://cairographics.org
 #VCS:		git:git://git.freedesktop.org/git/cairo
 #Source0:	http://cairographics.org/snapshots/%{name}-%{version}.tar.gz
@@ -129,6 +129,9 @@ make V=1 %{?_smp_mflags}
 make install V=1 DESTDIR=$RPM_BUILD_ROOT
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 
+%check
+make check V=1 %{?_smp_mflags} ||:
+
 %post -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
@@ -192,6 +195,9 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
 %{_libdir}/cairo/
 
 %changelog
+* Fri Jul 11 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1.13.1-0.3.git337ab1f
+- Enable make check but don't (currently) fail the build on failure
+
 * Fri Jun  6 2014 Peter Robinson <pbrobinson at fedoraproject.org> 1.13.1-0.2.git337ab1f
 - Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9
 


More information about the scm-commits mailing list