Accepting request 318745 from devel:languages:python
1 OBS-URL: https://build.opensuse.org/request/show/318745 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Babel?expand=0&rev=16
This commit is contained in:
commit
d4234e461a
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 24 07:19:45 UTC 2015 - seife+obs@b1-systems.com
|
||||||
|
|
||||||
|
- fix build on CentOS/RHEL by specifying TZ=UTC for %check
|
||||||
|
- fix CentOS/RHEL by depending on /usr/sbin/update-alternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 28 12:21:10 UTC 2015 - toddrme2178@gmail.com
|
Thu May 28 12:21:10 UTC 2015 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-Babel
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -35,8 +35,9 @@ BuildRequires: python-py >= 1.4.14
|
|||||||
BuildRequires: python-pytest >= 2.3.5
|
BuildRequires: python-pytest >= 2.3.5
|
||||||
BuildRequires: python-pytz
|
BuildRequires: python-pytz
|
||||||
Requires: python-pytz
|
Requires: python-pytz
|
||||||
Requires(post): update-alternatives
|
# absolute path will work cross-distro at least on RHEL and SUSE
|
||||||
Requires(postun): update-alternatives
|
Requires(post): /usr/sbin/update-alternatives
|
||||||
|
Requires(postun): /usr/sbin/update-alternatives
|
||||||
Provides: python-babel = %{version}
|
Provides: python-babel = %{version}
|
||||||
Obsoletes: python-babel < %{version}
|
Obsoletes: python-babel < %{version}
|
||||||
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
@ -68,7 +69,7 @@ ln -sf %{_sysconfdir}/alternatives/pybabel %{buildroot}%{_bindir}/pybabel
|
|||||||
%fdupes %{buildroot}%{python_sitelib}
|
%fdupes %{buildroot}%{python_sitelib}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
LC_ALL=C py.test tests
|
TZ=UTC LC_ALL=C py.test tests
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
# Since /usr/bin/pybabel became ghosted to be used with update-alternatives, we have to get rid
|
# Since /usr/bin/pybabel became ghosted to be used with update-alternatives, we have to get rid
|
||||||
|
Loading…
x
Reference in New Issue
Block a user