Author: glen                         Date: Tue Mar 22 06:19:08 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- run testing

---- Files affected:
packages/yum:
   yum.spec (1.88 -> 1.89) 

---- Diffs:

================================================================
Index: packages/yum/yum.spec
diff -u packages/yum/yum.spec:1.88 packages/yum/yum.spec:1.89
--- packages/yum/yum.spec:1.88  Tue Mar 22 06:41:03 2011
+++ packages/yum/yum.spec       Tue Mar 22 07:19:03 2011
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests           # build without tests
+
 # TODO
 # - PLDize (or drop) /etc/yum/version-groups.conf
 # # yum
@@ -40,6 +44,7 @@
 URL:           http://yum.baseurl.org/
 BuildRequires: gettext-devel
 BuildRequires: intltool
+%{?with_tests:BuildRequires:   python-nose}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.228
 Requires:      python >= 1:2.5
@@ -84,6 +89,8 @@
 %build
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d 
$RPM_BUILD_ROOT{/etc/{rc.d,sysconfig,yum/pluginconf.d},%{_libdir}/yum-plugins,%{_datadir}/yum-plugins}
@@ -180,6 +187,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.89  2011/03/22 06:19:03  glen
+- run testing
+
 Revision 1.88  2011/03/22 05:41:03  glen
 - not usable, rel down to 0.1
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/yum/yum.spec?r1=1.88&r2=1.89&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to