Hello community,
here is the log from the commit of package python-requirements-detector for
openSUSE:Factory checked in at 2020-01-09 22:54:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requirements-detector (Old)
and /work/SRC/openSUSE:Factory/.python-requirements-detector.new.6675
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-requirements-detector"
Thu Jan 9 22:54:06 2020 rev:5 rq:762537 version:0.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-requirements-detector/python-requirements-detector.changes
2019-05-22 11:18:10.414453471 +0200
+++
/work/SRC/openSUSE:Factory/.python-requirements-detector.new.6675/python-requirements-detector.changes
2020-01-09 22:54:44.186833654 +0100
@@ -1,0 +2,5 @@
+Thu Jan 9 18:56:36 UTC 2020 - Todd R <[email protected]>
+
+- Drop python2 subpackage due to dependencies dropping python2.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-requirements-detector.spec ++++++
--- /var/tmp/diff_new_pack.NyciDy/_old 2020-01-09 22:54:44.826833974 +0100
+++ /var/tmp/diff_new_pack.NyciDy/_new 2020-01-09 22:54:44.826833974 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-requirements-detector
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
%define oldpython python
Name: python-requirements-detector
Version: 0.6
@@ -39,8 +40,6 @@
%ifpython3
Conflicts: %{oldpython}-requirements-detector < 0.6
%endif
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
%python_subpackages
@@ -60,22 +59,15 @@
%install
%python_install
-%python_clone -a %{buildroot}%{_bindir}/detect-requirements
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_expand PYTHONPATH=%{buildroot}%{$pthon_sitelib}
nosetests-%{$python_bin_suffix}
-%post
-%python_install_alternative detect-requirements
-
-%postun
-%python_uninstall_alternative detect-requirements
-
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
-%python_alternative %{_bindir}/detect-requirements
+%python3_only %{_bindir}/detect-requirements
%changelog