Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-keyring for openSUSE:Factory checked in at 2021-02-23 20:19:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-keyring (Old) and /work/SRC/openSUSE:Factory/.python-keyring.new.2378 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-keyring" Tue Feb 23 20:19:56 2021 rev:39 rq:873156 version:21.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes 2020-10-02 17:15:35.942078324 +0200 +++ /work/SRC/openSUSE:Factory/.python-keyring.new.2378/python-keyring.changes 2021-02-23 20:21:53.639734694 +0100 @@ -1,0 +2,6 @@ +Tue Feb 16 09:47:10 UTC 2021 - Antonio Larrosa <alarr...@suse.com> + +- On SLE/Leap, set the egg version on %prep to the package version + since it's not being set automatically. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-keyring.spec ++++++ --- /var/tmp/diff_new_pack.NZ4p3U/_old 2021-02-23 20:21:54.143735140 +0100 +++ /var/tmp/diff_new_pack.NZ4p3U/_new 2021-02-23 20:21:54.147735143 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-keyring # -# 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 @@ -53,6 +53,10 @@ %prep %setup -q -n keyring-%{version} %patch -p1 +%if 0%{?sle_version} +# keyring is not setting the egg version correctly without this: +sed -i -e '1a version=%{version}' setup.cfg +%endif # For rpmlint warning: remove shebang from python library: sed -i '/^#!/d' keyring/cli.py sed -i -e 's,--flake8,,' -e 's,--black,,' -e 's,--cov,,' pytest.ini