Hello community,
here is the log from the commit of package python-wheezy.template for
openSUSE:Factory checked in at 2020-11-10 13:38:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-wheezy.template (Old)
and /work/SRC/openSUSE:Factory/.python-wheezy.template.new.11331 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wheezy.template"
Tue Nov 10 13:38:27 2020 rev:2 rq:846099 version:0.1.195
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-wheezy.template/python-wheezy.template.changes
2020-09-15 16:26:33.150496971 +0200
+++
/work/SRC/openSUSE:Factory/.python-wheezy.template.new.11331/python-wheezy.template.changes
2020-11-10 13:39:12.616502487 +0100
@@ -1,0 +2,6 @@
+Wed Nov 4 11:06:36 UTC 2020 - Benjamin Greiner <[email protected]>
+
+- Alternative entry points for multiple flavors
+ gh#openSUSE/python-rpm-macros#66
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-wheezy.template.spec ++++++
--- /var/tmp/diff_new_pack.IPmpAU/_old 2020-11-10 13:39:13.284501159 +0100
+++ /var/tmp/diff_new_pack.IPmpAU/_new 2020-11-10 13:39:13.288501152 +0100
@@ -25,7 +25,6 @@
Group: Development/Languages/Python
URL: https://github.com/akornatskyy/wheezy.template
Source:
https://files.pythonhosted.org/packages/source/w/wheezy.template/wheezy.template-%{version}.tar.gz
-BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -48,12 +47,22 @@
%install
%python_install
+%python_clone -a %{buildroot}%{_bindir}/wheezy.template
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%post
+%python_install_alternative wheezy.template
+
+%postun
+%python_uninstall_alternative wheezy.template
+
%files %{python_files}
%doc README.md
%license LICENSE
-%python3_only %{_bindir}/wheezy.template
-%{python_sitelib}/*
+%python_alternative %{_bindir}/wheezy.template
+%dir %{python_sitelib}/wheezy
+%{python_sitelib}/wheezy/template
+%{python_sitelib}/wheezy.template-%{version}*.pth
+%{python_sitelib}/wheezy.template-%{version}*-info
%changelog