Hello community,
here is the log from the commit of package python-ruamel.base for
openSUSE:Leap:15.2 checked in at 2020-02-21 23:48:52
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-ruamel.base (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-ruamel.base.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-ruamel.base"
Fri Feb 21 23:48:52 2020 rev:11 rq:777106 version:1.0.0+post1
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-ruamel.base/python-ruamel.base.changes
2020-01-15 15:52:45.379574276 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-ruamel.base.new.26092/python-ruamel.base.changes
2020-02-21 23:48:54.792514199 +0100
@@ -1,0 +2,13 @@
+Mon Oct 14 14:41:47 UTC 2019 - Matej Cepl <[email protected]>
+
+- Replace %fdupes -s with plain %fdupes; hardlinks are better.
+
+-------------------------------------------------------------------
+Mon Jul 15 15:06:26 UTC 2019 - John Vandenberg <[email protected]>
+
+- Replace namespace nspkg.pth and --single-version-externally-managed
+ with a normal namespace __init__.py
+- Bumped version to 1.0.0+post1 due to incompatible namespace technique
+- Tidy spec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-ruamel.base.spec ++++++
--- /var/tmp/diff_new_pack.5iP96j/_old 2020-02-21 23:48:55.180514970 +0100
+++ /var/tmp/diff_new_pack.5iP96j/_new 2020-02-21 23:48:55.180514970 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-ruamel.base
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 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
@@ -12,45 +12,48 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-ruamel.base
-Version: 1.0.0
+Version: 1.0.0+post1
Release: 0
Summary: Shared ruamel routines
License: MIT
-Group: Development/Languages/Python
-Url: https://bitbucket.org/ruamel/base
-Source:
https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-%{version}.tar.gz
+URL: https://bitbucket.org/ruamel/base
+Source:
https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-1.0.0.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
%description
-Shared code for ruamel implementations
+This is a common package for the "ruamel" namespace.
%prep
-%setup -q -n ruamel.base-%{version}
+%setup -q -n ruamel.base-1.0.0
rm -rf *.egg-info
+# https://bitbucket.org/ruamel/base/issues/1
+sed -i '/sys.exit/d' setup.py
+# Use normal namespaces with a __init__.py, so it is easier to
+# managed the ordereddict and yaml packages which also include .so files
+sed -i '/namespace_packages=/d' setup.py
%build
%python_build
%install
-%python_install --single-version-externally-managed
-%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+export RUAMEL_NO_PIP_INSTALL_CHECK=1
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%defattr(-,root,root,-)
-%doc LICENSE README.rst
+%doc README.rst
+%license LICENSE
%{python_sitelib}/ruamel
-%{python_sitelib}/ruamel.base-%{version}-py%{python_version}-nspkg.pth
-%{python_sitelib}/ruamel.base-%{version}-py%{python_version}.egg-info
+%{python_sitelib}/ruamel.base-1.0.0-py%{python_version}.egg-info
%changelog