SPECS: kerneloops.spec - BR valgrind for tests - fix build with dbus 0.62

glen glen at pld-linux.org
Mon Jul 14 14:18:54 CEST 2008


Author: glen                         Date: Mon Jul 14 12:18:54 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- BR valgrind for tests
- fix build with dbus 0.62

---- Files affected:
SPECS:
   kerneloops.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/kerneloops.spec
diff -u SPECS/kerneloops.spec:1.4 SPECS/kerneloops.spec:1.5
--- SPECS/kerneloops.spec:1.4	Mon Jul 14 14:17:13 2008
+++ SPECS/kerneloops.spec	Mon Jul 14 14:18:47 2008
@@ -1,5 +1,8 @@
 # $Revision$, $Date$
-%bcond_without	tests
+#
+# Conditional build:
+%bcond_without	tests		# build without tests
+#
 Summary:	Tool to automatically collect and submit kernel crash signatures
 Name:		kerneloops
 Version:	0.11
@@ -18,6 +21,9 @@
 BuildRequires:	gtk+2-devel
 BuildRequires:	libnotify-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
+%if %{with tests}
+BuildRequires:	valgrind
+%endif
 Requires:	rc-scripts
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -33,7 +39,7 @@
 %build
 %{__make} \
 	CC="%{__cc}" \
-	CFLAGS="%{rpmcflags}"
+	CFLAGS="%{rpmcflags} -DDBUS_API_SUBJECT_TO_CHANGE"
 
 %{?with_tests:%{__make} tests}
 
@@ -82,6 +88,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2008/07/14 12:18:47  glen
+- BR valgrind for tests
+- fix build with dbus 0.62
+
 Revision 1.4  2008/07/14 12:17:13  paszczus
 - added Source2: kerneloops.sysconfig
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kerneloops.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list