Hello community,

here is the log from the commit of package python-pbr for openSUSE:Factory 
checked in at 2013-07-04 18:06:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pbr (Old)
 and      /work/SRC/openSUSE:Factory/.python-pbr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pbr"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pbr/python-pbr.changes    2013-07-03 
10:26:42.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-pbr.new/python-pbr.changes       
2013-07-04 18:06:12.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Jul  4 07:29:43 UTC 2013 - speili...@suse.com
+
+- Introduce a build conditional for running tests to break build cycle
+  with python-oslo.config
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pbr.spec ++++++
--- /var/tmp/diff_new_pack.odjeFk/_old  2013-07-04 18:06:12.000000000 +0200
+++ /var/tmp/diff_new_pack.odjeFk/_new  2013-07-04 18:06:12.000000000 +0200
@@ -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-pbr
 Version:        0.5.17
 Release:        0
@@ -29,6 +33,7 @@
 # Documentation requirements:
 BuildRequires:  python-Sphinx
 # Test requirements:
+%if %{with tests}
 BuildRequires:  python-coverage >= 3.6
 %if 0%{?suse_version} <= 1110
 BuildRequires:  python-discover
@@ -44,6 +49,7 @@
 BuildRequires:  python-testresources
 BuildRequires:  python-testscenarios
 BuildRequires:  python-testtools >= 0.9.27
+%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()")}
@@ -71,8 +77,10 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
+%if %{with tests}
 %check
 python setup.py testr
+%endif
 
 %files
 %defattr(-,root,root,-)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to