Hello community, here is the log from the commit of package python-vcs for openSUSE:Leap:15.2 checked in at 2020-03-02 13:24:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/python-vcs (Old) and /work/SRC/openSUSE:Leap:15.2/.python-vcs.new.26092 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-vcs" Mon Mar 2 13:24:36 2020 rev:11 rq:777259 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/python-vcs/python-vcs.changes 2020-01-15 15:54:03.267618920 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.python-vcs.new.26092/python-vcs.changes 2020-03-02 13:24:36.982548558 +0100 @@ -1,0 +2,22 @@ +Thu Jan 24 15:49:14 UTC 2019 - Matěj Cepl <[email protected]> + +- Remove mercurial BR + +------------------------------------------------------------------- +Wed Oct 24 13:28:00 UTC 2018 - Tomáš Chvátal <[email protected]> + +- Install license +- Do not generate docs, fail with newer sphinx as the package is + from 2013 there is low chance of this getting fixed + +------------------------------------------------------------------- +Wed Jun 6 15:51:56 UTC 2018 - [email protected] + +- Clean SPEC file + +------------------------------------------------------------------- +Thu Aug 24 13:56:52 UTC 2017 - [email protected] + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -44,0 +67 @@ + New: ---- LICENSE ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-vcs.spec ++++++ --- /var/tmp/diff_new_pack.fCzinO/_old 2020-03-02 13:24:38.606551788 +0100 +++ /var/tmp/diff_new_pack.fCzinO/_new 2020-03-02 13:24:38.642551859 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-vcs # -# Copyright (c) 2015 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,38 +12,37 @@ # 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/ # +# +%define skip_python3 1 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-vcs Version: 0.4.0 Release: 0 -Url: https://github.com/codeinn/vcs Summary: Various Version Control System management abstraction layer for Python License: MIT Group: Development/Languages/Python -Source: http://pypi.python.org/packages/source/v/vcs/vcs-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: python-devel -Requires: python-dulwich -BuildRequires: python-Sphinx -BuildRequires: python-setuptools +URL: https://github.com/codeinn/vcs +Source: https://files.pythonhosted.org/packages/source/v/vcs/vcs-%{version}.tar.gz +Source99: https://raw.githubusercontent.com/codeinn/vcs/master/LICENSE +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros # Test requirements: #BuildRequires: python-mock #BuildRequires: python-Pygments #BuildRequires: python-nose #BuildRequires: python-unittest2 #BuildRequires: python-dulwich -#BuildRequires: mercurial #BuildRequires: git-core Requires: git-core -Requires: mercurial -%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()")} -%else +Requires: python-dulwich BuildArch: noarch -%endif +%python_subpackages %description Vcs is an abstraction layer over various version control systems. It is @@ -51,22 +50,23 @@ %prep %setup -q -n vcs-%{version} +cp %{SOURCE99} . %build -python setup.py build -cd docs && make html && rm build/html/.buildinfo +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} -rm -rf %{buildroot}%{python_sitelib}/vcs/.ropeproject +%python_install +%python_expand rm -rf %{buildroot}%{$python_sitelib}/vcs/.ropeproject +%python_expand %fdupes %{buildroot}%{$python_sitelib} # Tests require network access, thus disabled: #%%check #nosetests -%files -%defattr(-,root,root,-) -%doc README.rst docs/build/html +%files %{python_files} +%license LICENSE +%doc README.rst %{_bindir}/vcs %{python_sitelib}/* ++++++ LICENSE ++++++ Copyright (C) 2010-2013 vcs Marcin Kuźmiński & Łukasz Balcerzak Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
