Hello community, here is the log from the commit of package git-review for openSUSE:Factory checked in at 2019-01-21 10:47:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/git-review (Old) and /work/SRC/openSUSE:Factory/.git-review.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "git-review" Mon Jan 21 10:47:28 2019 rev:13 rq:663611 version:1.27.0 Changes: -------- --- /work/SRC/openSUSE:Factory/git-review/git-review.changes 2017-11-14 13:01:06.102437378 +0100 +++ /work/SRC/openSUSE:Factory/.git-review.new.28833/git-review.changes 2019-01-21 10:47:59.512192413 +0100 @@ -1,0 +2,10 @@ +Tue Jan 8 10:01:57 UTC 2019 - Tomáš Chvátal <[email protected]> + +- Update to 1.27.0: + * Work with python3 +- Remove patch in upstream: git-2.15-compat.patch +- Switch to source url downloads +- Switch URL to point to active site +- Switch to singlespec + +------------------------------------------------------------------- Old: ---- git-2.15-compat.patch git-review-1.25.0.tar.gz New: ---- git-review-1.27.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ git-review.spec ++++++ --- /var/tmp/diff_new_pack.O4iJPb/_old 2019-01-21 10:48:00.684190978 +0100 +++ /var/tmp/diff_new_pack.O4iJPb/_new 2019-01-21 10:48:00.684190978 +0100 @@ -1,7 +1,7 @@ # # spec file for package git-review # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,36 +12,36 @@ # 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/ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: git-review -Version: 1.25.0 +Version: 1.27.0 Release: 0 Summary: Tool to submit code to Gerrit License: Apache-2.0 Group: Development/Languages/Python -Url: https://launchpad.net/git-review -#Source0: http://pypi.python.org/packages/source/g/git-review/git-review-%{version}.tar.gz -Source: %{name}-%{version}.tar.gz -Patch0: git-2.15-compat.patch -BuildRequires: python-devel -BuildRequires: python-pbr -BuildRequires: python-setuptools +URL: https://git.openstack.org/cgit/openstack-infra/git-review +Source: https://files.pythonhosted.org/packages/source/g/%{name}/%{name}-%{version}.tar.gz +BuildRequires: %{python_module fixtures >= 0.3.14} +BuildRequires: %{python_module mock} +BuildRequires: %{python_module pbr} +BuildRequires: %{python_module requests >= 1.1} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module testrepository >= 0.0.18} +BuildRequires: %{python_module testtools >= 0.9.34} +BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-requests >= 1.1 Requires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Provides: python-git-review = %{version} -Obsoletes: python-git-review < %{version} -%if 0%{?suse_version} && 0%{?suse_version} <= 1110 -%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} -# This package does not install into %%{python_sitelib}, thus we have -# to manually tell the dependency on python(abi): -%py_requires -%else BuildArch: noarch +%ifpython3 +Provides: git-review = %{version} +Obsoletes: git-review < %{version} %endif +%python_subpackages %description A git command for submitting branches to Gerrit @@ -51,20 +51,26 @@ %prep %setup -q -n git-review-%{version} -%patch0 -p1 %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -install -m 0644 -D git-review.1 %{buildroot}/%{_mandir}/man1/git-review.1 +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root,-) -%doc AUTHORS LICENSE README.rst +%check +# Can't be executed because it fetches java from web and launches own gerrit +# instance to test against +#%%{python_expand $python -m git_review.tests.check_test_id_hashes discover --list +#$python -m git_review.tests.prepare +#$python setup.py testr} + +%files %{python_files} +%license LICENSE +%doc AUTHORS README.rst %{python_sitelib}/* -%{_bindir}/git-review -%{_mandir}/man1/git-review.1.gz +%python3_only %{_bindir}/git-review +%python3_only %{_mandir}/man1/git-review.1%{?ext_man} %changelog ++++++ git-review-1.25.0.tar.gz -> git-review-1.27.0.tar.gz ++++++ ++++ 2663 lines of diff (skipped)
