commit 14b5b172d5ad53daad56473830dd27703b30b1b3
Author: Jakub Bogusz <[email protected]>
Date:   Fri Mar 4 17:48:43 2022 +0100

    - versioned Obsoletes, run tests in UTC tz

 python-babel.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/python-babel.spec b/python-babel.spec
index 333f51a..1241fd0 100644
--- a/python-babel.spec
+++ b/python-babel.spec
@@ -46,7 +46,7 @@ BuildRequires:        python3-pytest-cov
 %endif
 %{?with_doc:BuildRequires:     sphinx-pdg}
 Requires:      python-modules >= 1:2.7
-Obsoletes:     python-Babel
+Obsoletes:     python-Babel < 0.9.5-2
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -95,6 +95,8 @@ Dokumentacja API biblioteki Pythona Babel.
 %py_build
 
 %if %{with tests}
+# few frontend tests have some (DST-related?) issues with local timezones
+TZ=UTC \
 %{__python} -m pytest tests
 %endif
 %endif
@@ -103,6 +105,7 @@ Dokumentacja API biblioteki Pythona Babel.
 %py3_build
 
 %if %{with tests}
+TZ=UTC \
 %{__python3} -m pytest tests
 %endif
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-babel.git/commitdiff/14b5b172d5ad53daad56473830dd27703b30b1b3

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

Reply via email to