Hello community,

here is the log from the commit of package python-Babel for openSUSE:Factory 
checked in at 2015-07-28 11:42:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Babel (Old)
 and      /work/SRC/openSUSE:Factory/.python-Babel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Babel"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Babel/python-Babel.changes        
2015-05-30 12:33:28.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Babel.new/python-Babel.changes   
2015-07-28 11:42:32.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 24 07:19:45 UTC 2015 - [email protected]
+
+- fix build on CentOS/RHEL by specifying TZ=UTC for %check
+- fix CentOS/RHEL by depending on /usr/sbin/update-alternatives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Babel.spec ++++++
--- /var/tmp/diff_new_pack.OaZ9wh/_old  2015-07-28 11:42:33.000000000 +0200
+++ /var/tmp/diff_new_pack.OaZ9wh/_new  2015-07-28 11:42:33.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Babel
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -35,8 +35,9 @@
 BuildRequires:  python-pytest >= 2.3.5
 BuildRequires:  python-pytz
 Requires:       python-pytz
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
+# absolute path will work cross-distro at least on RHEL and SUSE
+Requires(post): /usr/sbin/update-alternatives
+Requires(postun): /usr/sbin/update-alternatives
 Provides:       python-babel = %{version}
 Obsoletes:      python-babel < %{version}
 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -68,7 +69,7 @@
 %fdupes %{buildroot}%{python_sitelib}
 
 %check
-LC_ALL=C py.test tests
+TZ=UTC LC_ALL=C py.test tests
 
 %pre
 # Since /usr/bin/pybabel became ghosted to be used with update-alternatives, 
we have to get rid


Reply via email to