commit python-ruamel.base for openSUSE:Factory
Hello community, here is the log from the commit of package python-ruamel.base for openSUSE:Factory checked in at 2017-04-26 21:43:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-ruamel.base (Old) and /work/SRC/openSUSE:Factory/.python-ruamel.base.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-ruamel.base" Wed Apr 26 21:43:48 2017 rev:2 rq:490320 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-ruamel.base/python-ruamel.base.changes 2017-02-28 23:48:47.312355845 +0100 +++ /work/SRC/openSUSE:Factory/.python-ruamel.base.new/python-ruamel.base.changes 2017-04-26 21:43:51.106581950 +0200 @@ -1,0 +2,5 @@ +Mon Apr 24 13:16:01 UTC 2017 - aloisio@gmx.com + +- Converted to single-spec + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-ruamel.base.spec ++++++ --- /var/tmp/diff_new_pack.96315K/_old 2017-04-26 21:43:52.674360624 +0200 +++ /var/tmp/diff_new_pack.96315K/_new 2017-04-26 21:43:52.678360059 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-ruamel.base # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2017 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 @@ -16,20 +16,21 @@ # +%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-ruamel.base Version: 1.0.0 Release: 0 -Url: https://bitbucket.org/ruamel/base Summary: Shared ruamel routines License: MIT Group: Development/Languages/Python -Source: ruamel.base-%{version}.tar.gz -BuildRequires: python-setuptools -%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 +Url: https://bitbucket.org/ruamel/base +Source: https://files.pythonhosted.org/packages/source/r/ruamel.base/ruamel.base-%{version}.tar.gz +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -%endif +%python_subpackages %description Shared code for ruamel implementations @@ -39,12 +40,17 @@ rm -rf *.egg-info %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} --single-version-externally-managed +%python_install --single-version-externally-managed +%python_expand %fdupes -s %{buildroot}%{$python_sitelib} -%files +%files %{python_files} %defattr(-,root,root,-) %doc LICENSE README.rst -%{python_sitelib}/* +%{python_sitelib}/ruamel +%{python_sitelib}/ruamel.base-%{version}-py%{python_version}-nspkg.pth +%{python_sitelib}/ruamel.base-%{version}-py%{python_version}.egg-info + +%changelog
participants (1)
-
root@hilbert.suse.de