Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyerfa for openSUSE:Factory 
checked in at 2021-01-18 14:39:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyerfa (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyerfa.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyerfa"

Mon Jan 18 14:39:13 2021 rev:4 rq:864043 version:1.7.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyerfa/python-pyerfa.changes      
2020-11-23 19:00:20.353960374 +0100
+++ /work/SRC/openSUSE:Factory/.python-pyerfa.new.28504/python-pyerfa.changes   
2021-01-18 14:46:14.858058599 +0100
@@ -1,0 +2,7 @@
+Fri Jan 15 18:11:42 UTC 2021 - Benjamin Greiner <c...@bnavigator.de>
+
+- Use bundled ERFA in Leap
+- skip python2 for leap: upstream dropped python2 support, no
+  pytest doctestplus for python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-pyerfa.spec ++++++
--- /var/tmp/diff_new_pack.YYbUaE/_old  2021-01-18 14:46:15.534059618 +0100
+++ /var/tmp/diff_new_pack.YYbUaE/_new  2021-01-18 14:46:15.534059618 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyerfa
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,9 +15,16 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
+%if 0%{suse_version} <= 1500
+# use the bundled ERFA in Leap <=15.X, because the system provided one is too 
old
+%bcond_with systemlibs
+%else
+%bcond_without systemlibs
+%endif
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define erfaversion 1.7.1
+# upstream dropped python2 support, no pytest doctestplus for python2
+%define skip_python2 1
 Name:           python-pyerfa
 Version:        1.7.1.1
 Release:        0
@@ -35,7 +42,9 @@
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
+%if %{with systemlibs}
 BuildRequires:  pkgconfig(erfa) >= %{erfaversion}
+%endif
 Requires:       python-numpy >= 1.16
 %python_subpackages
 
@@ -51,14 +60,20 @@
 
 %prep
 %setup -q -n pyerfa-%{version}
+%if %{with systemlibs}
 rm -rf liberfa/
+%endif
 
 %build
+%if %{with systemlibs}
 export PYERFA_USE_SYSTEM_LIBERFA=1
+%endif
 %python_build
 
 %install
+%if %{with systemlibs}
 export PYERFA_USE_SYSTEM_LIBERFA=1
+%endif
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 

Reply via email to