[libaccounts-glib/f19] Disable tests on F19

Daniel Vrátil dvratil at fedoraproject.org
Wed Feb 26 18:13:56 UTC 2014


commit 458c7d3f0253f4e672315f006c5c451af51e9872
Author: Dan Vrátil <dvratil at redhat.com>
Date:   Wed Feb 26 19:14:25 2014 +0100

    Disable tests on F19
    
    The check package on F19 is too old.

 libaccounts-glib-1.16-disable-tests.patch |   17 +++++++++++++++++
 libaccounts-glib.spec                     |    8 +++++---
 2 files changed, 22 insertions(+), 3 deletions(-)
---
diff --git a/libaccounts-glib-1.16-disable-tests.patch b/libaccounts-glib-1.16-disable-tests.patch
new file mode 100644
index 0000000..959eecd
--- /dev/null
+++ b/libaccounts-glib-1.16-disable-tests.patch
@@ -0,0 +1,17 @@
+diff --git a/Makefile.am b/Makefile.am
+index 3d5e559..35af217 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -2,9 +2,9 @@ SUBDIRS = libaccounts-glib docs tools
+ if ENABLE_PYTHON
+ SUBDIRS += pygobject
+ endif
+-if ENABLE_TESTS
+-SUBDIRS += tests
+-endif
++#if ENABLE_TESTS
++#SUBDIRS += tests
++#endif
+ 
+ include $(top_srcdir)/Makefile.am.coverage
+ 
diff --git a/libaccounts-glib.spec b/libaccounts-glib.spec
index 6eb52f7..0665834 100644
--- a/libaccounts-glib.spec
+++ b/libaccounts-glib.spec
@@ -7,10 +7,10 @@ License:	LGPLv2
 URL:		https://code.google.com/p/accounts-sso/
 Source0:	https://accounts-sso.googlecode.com/files/%{name}-%{version}.tar.gz
 Patch0:		libaccounts-glib-1.16-build-with-werror.patch
+Patch1:         libaccounts-glib-1.16-disable-tests.patch
 BuildRequires:	dbus-glib-devel
 BuildRequires:	libxml2-devel
 BuildRequires:	sqlite-devel
-BuildRequires:	check-devel
 BuildRequires:	gobject-introspection-devel
 # no needed for final release tarball
 BuildRequires:	libtool
@@ -40,6 +40,7 @@ The %{name}-docs package contains documentation for %{name}.
 %setup -q
 
 %patch0	-p1 -b .werror
+%patch1 -p1 -b .disabletests
 
 %build
 gtkdocize
@@ -90,9 +91,9 @@ rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test
 %{_libdir}/pkgconfig/%{name}.pc
 %{_includedir}/%{name}
 %{_datadir}/gir-1.0/Accounts-1.0.gir
-%{_libdir}/libaccounts-glib
+#%{_libdir}/libaccounts-glib
 %{_datadir}/dbus-1/interfaces/*.xml
-%{_datadir}/libaccounts-glib
+#%{_datadir}/libaccounts-glib
 %{_datadir}/vala/vapi/libaccounts-glib.deps
 %{_datadir}/vala/vapi/libaccounts-glib.vapi
 
@@ -102,6 +103,7 @@ rm -rf %{buildroot}%{_datadir}/libaccounts-glib0-test
 %changelog
 * Wed Feb 26 2014 Daniel Vrátil <dvratil at redhat.com> - 1.16-1
 - Latest upstream release
+- disable unit-tets on F19 (check on F19 is too old)
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.8-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list