Hello community,

here is the log from the commit of package python-extras for openSUSE:Factory 
checked in at 2014-03-14 15:17:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-extras (Old)
 and      /work/SRC/openSUSE:Factory/.python-extras.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-extras"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-extras/python-extras.changes      
2013-12-03 10:48:10.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-extras.new/python-extras.changes 
2014-03-14 15:17:52.000000000 +0100
@@ -1,0 +2,5 @@
+Fri Mar  7 11:01:35 UTC 2014 - [email protected]
+
+- Add 'tests' build conditional
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-extras.spec ++++++
--- /var/tmp/diff_new_pack.0jD9dO/_old  2014-03-14 15:17:53.000000000 +0100
+++ /var/tmp/diff_new_pack.0jD9dO/_new  2014-03-14 15:17:53.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-extras
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,10 @@
 #
 
 
+# A build cycle exists between python-extras and python-testtools. Thus, only
+# enable testing with a build conditional (off by default):
+%bcond_with tests
+
 Name:           python-extras
 Version:        0.0.3
 Release:        0
@@ -27,7 +31,9 @@
 BuildRequires:  python-devel
 BuildRequires:  python-setuptools
 # Test requirements:
+%if %{with tests}
 BuildRequires:  python-testtools
+%endif
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
 %{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
@@ -49,8 +55,10 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if %{with tests}
 %check
 python setup.py test
+%endif
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to