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

This commit is contained in:
Peter Robinson 2014-07-11 12:40:27 +01:00
parent b46cb5420c
commit 195eca0dae

View File

@ -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@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@fedoraproject.org> 1.13.1-0.2.git337ab1f
- Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9