[packages/abrt] - BR: python-nose (if building with tests)
qboosh
qboosh at pld-linux.org
Tue Apr 7 17:44:25 CEST 2015
commit 95236fe749831ab36904320606ece514e4af34ea
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Apr 7 17:45:53 2015 +0200
- BR: python-nose (if building with tests)
abrt.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/abrt.spec b/abrt.spec
index 49d4275..d944269 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -3,6 +3,10 @@
# - handle obsolete packages: abrt-plugin-{catcut,rhfastcheck,rhticket,ticketuploader}
# - SysV init scripts for -addon-ccpp, -addon-kerneloops, -addon-pstoreoops, -addon-upload-watch, -addon-vmcore, -addon-xorg
# - teach build system to use python3.2+ __pycache__
+#
+# Conditional build:
+%bcond_without tests # disable pythontests
+#
%define libreport_ver 2.5.0
Summary: Automatic bug detection and reporting tool
Summary(pl.UTF-8): Narzędzie do automatycznego wykrywania i zgłaszania błędów
@@ -42,6 +46,7 @@ BuildRequires: pkgconfig
BuildRequires: polkit-devel
BuildRequires: python-devel >= 2
BuildRequires: python-modules >= 2
+%{?with_tests:BuildRequires: python-nose}
BuildRequires: python3-devel >= 3
BuildRequires: python3-modules >= 3
BuildRequires: rpm-devel >= 4.5-28
@@ -480,6 +485,7 @@ się do powłoki.
%{__automake}
%configure \
--disable-silent-rules \
+ %{!?with_tests:--without-pythontests} \
--with-systemdsystemunitdir=%{systemdunitdir}
%{__make}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/abrt.git/commitdiff/95236fe749831ab36904320606ece514e4af34ea
More information about the pld-cvs-commit
mailing list