Hello community, here is the log from the commit of package pyspacewar for openSUSE:Factory checked in at 2020-01-12 23:25:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pyspacewar (Old) and /work/SRC/openSUSE:Factory/.pyspacewar.new.6675 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pyspacewar" Sun Jan 12 23:25:24 2020 rev:5 rq:763672 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/pyspacewar/pyspacewar.changes 2016-11-14 20:13:29.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.pyspacewar.new.6675/pyspacewar.changes 2020-01-12 23:26:31.822863754 +0100 @@ -1,0 +2,8 @@ +Thu Jan 9 13:46:47 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Switch to python3 +- Enable tests +- Update to 1.1.1: + * various minor fixes + +------------------------------------------------------------------- Old: ---- pyspacewar-1.1.0.tar.gz New: ---- pyspacewar-1.1.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pyspacewar.spec ++++++ --- /var/tmp/diff_new_pack.g7nitQ/_old 2020-01-12 23:26:32.206863896 +0100 +++ /var/tmp/diff_new_pack.g7nitQ/_new 2020-01-12 23:26:32.206863896 +0100 @@ -1,7 +1,7 @@ # # spec file for package pyspacewar # -# Copyright (c) 2016 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 @@ -12,25 +12,26 @@ # 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/ # Name: pyspacewar -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: Game loosely based on the original Spacewar! -License: GPL-2.0 and CC-BY-SA-3.0 and SUSE-Public-Domain -Group: Amusements/Games/Action/Arcade -Url: http://mg.pov.lt/pyspacewar/ +License: GPL-2.0-only AND CC-BY-SA-3.0 AND SUSE-Public-Domain +URL: https://github.com/mgedmin/pyspacewar Source0: https://github.com/mgedmin/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}.desktop BuildRequires: fdupes BuildRequires: hicolor-icon-theme -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros +BuildRequires: python3-pygame +BuildRequires: python3-pytest +BuildRequires: python3-setuptools BuildRequires: update-desktop-files -Requires: python -Requires: python-pygame +Requires: python3-pygame BuildArch: noarch %description @@ -47,10 +48,11 @@ %setup -q %build -python setup.py build +%python3_build %install -python setup.py install --single-version-externally-managed -O1 --root=%{buildroot} +%python3_install +%fdupes %{buildroot}%{python3_sitelib} # install icons for i in 16 22 32 48 ; do @@ -59,18 +61,20 @@ done # install Desktop file -install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/applications/%{name}.desktop +install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop %suse_update_desktop_file %{name} -%fdupes -s %{buildroot}%{_prefix} + +%check +PYTHONPATH=%{buildroot}%{python3_sitelib} python3 -m pytest -v %files -%defattr(-,root,root,-) -%doc GPL.txt *.rst +%license LICENSE +%doc *.rst %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/*/apps/ -%{python_sitelib}/%{name} -%{python_sitelib}/%{name}-*.egg-info +%{python3_sitelib}/%{name} +%{python3_sitelib}/%{name}-*.egg-info %changelog ++++++ pyspacewar-1.1.0.tar.gz -> pyspacewar-1.1.1.tar.gz ++++++ ++++ 3937 lines of diff (skipped)