dtardon pushed to libodfgen (f22). "the test code does no automatic checks (..more)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Fri Apr 17 14:23:34 UTC 2015
>From 3bb66d286823485179b9d60578e11ae344c4c5cb Mon Sep 17 00:00:00 2001
From: David Tardon <dtardon at redhat.com>
Date: Fri, 17 Apr 2015 16:17:20 +0200
Subject: the test code does no automatic checks
It generates documents for manual inspection.
diff --git a/libodfgen.spec b/libodfgen.spec
index d69a427..c2000d3 100644
--- a/libodfgen.spec
+++ b/libodfgen.spec
@@ -37,8 +37,7 @@ The %{name}-doc package contains documentation files for %{name}.
%setup -q
%build
-%configure --disable-silent-rules --disable-static --disable-werror \
- --enable-test
+%configure --disable-silent-rules --disable-static --disable-werror
sed -i \
-e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \
-e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \
@@ -51,11 +50,6 @@ rm -f %{buildroot}/%{_libdir}/*.la
# we install API docs directly from build
rm -rf %{buildroot}/%{_docdir}/%{name}
-%check
-export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
-make %{?_smp_mflags} check
-make -C test launch_all
-
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/libodfgen.git/commit/?h=f22&id=3bb66d286823485179b9d60578e11ae344c4c5cb
More information about the scm-commits
mailing list