Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-xkcdpass for openSUSE:Factory
checked in at 2021-02-18 20:39:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xkcdpass (Old)
and /work/SRC/openSUSE:Factory/.python-xkcdpass.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xkcdpass"
Thu Feb 18 20:39:50 2021 rev:4 rq:867742 version:1.17.6
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xkcdpass/python-xkcdpass.changes
2020-12-21 10:26:37.300197858 +0100
+++
/work/SRC/openSUSE:Factory/.python-xkcdpass.new.28504/python-xkcdpass.changes
2021-02-18 20:50:17.859320284 +0100
@@ -1,0 +2,5 @@
+Fri Jan 29 11:41:18 UTC 2021 - Ben Greiner <[email protected]>
+
+- Fix singlespec
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-xkcdpass.spec ++++++
--- /var/tmp/diff_new_pack.NFkE1K/_old 2021-02-18 20:50:18.555320965 +0100
+++ /var/tmp/diff_new_pack.NFkE1K/_new 2021-02-18 20:50:18.559320969 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-xkcdpass
#
-# 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
@@ -30,9 +30,9 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-BuildRequires: python3-base
-Requires: python-setuptools
BuildArch: noarch
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
%python_subpackages
%description
@@ -41,25 +41,31 @@
%prep
%setup -q -n xkcdpass-%{version}
+# Remove the shebang
+sed -i -e '1d' xkcdpass/xkcd_password.py
%build
-%{python_build}
-
-%check
-%{pytest}
+%python_build
%install
-%{python_install}
+%python_install
+%python_clone -a %{buildroot}%{_bindir}/xkcdpass
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
-# Remove the shebang
-sed -i -e '1d' %{buildroot}%{python_sitelib}/xkcdpass/xkcd_password.py
+%check
+%pytest
+
+%post
+%python_install_alternative xkcdpass
-%fdupes %{buildroot}%{python_sitelib}
+%postun
+%python_uninstall_alternative xkcdpass
%files %{python_files}
%license LICENSE*
%doc README.rst
-%{_bindir}/xkcdpass
-%{python_sitelib}/*
+%python_alternative %{_bindir}/xkcdpass
+%{python_sitelib}/xkcdpass
+%{python_sitelib}/xkcdpass-%{version}*-info
%changelog