Hello community, here is the log from the commit of package python-configargparse for openSUSE:Factory checked in at 2018-05-18 14:28:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-configargparse (Old) and /work/SRC/openSUSE:Factory/.python-configargparse.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-configargparse" Fri May 18 14:28:30 2018 rev:2 rq:610250 version:0.10.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-configargparse/python-configargparse.changes 2016-01-11 19:11:16.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.python-configargparse.new/python-configargparse.changes 2018-05-18 14:28:33.284935532 +0200 @@ -1,0 +2,10 @@ +Fri May 18 08:54:47 UTC 2018 - mc...@suse.com + +- Cleanup SPEC file and add check section + +------------------------------------------------------------------- +Thu Aug 24 13:34:40 UTC 2017 - jmate...@suse.com + +- singlespec auto-conversion + +------------------------------------------------------------------- @@ -35,0 +46 @@ + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-configargparse.spec ++++++ --- /var/tmp/diff_new_pack.WZUbye/_old 2018-05-18 14:28:34.172902946 +0200 +++ /var/tmp/diff_new_pack.WZUbye/_new 2018-05-18 14:28:34.176902800 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-configargparse # -# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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-configargparse Version: 0.10.0 Release: 0 Summary: A drop-in replacement for argparse License: MIT Group: Development/Languages/Python -Url: https://github.com/zorro3/ConfigArgParse -Source: https://pypi.python.org/packages/source/C/ConfigArgParse/ConfigArgParse-%{version}.tar.gz +URL: https://github.com/zorro3/ConfigArgParse +Source: https://files.pythonhosted.org/packages/source/C/ConfigArgParse/ConfigArgParse-%{version}.tar.gz +BuildRequires: %{python_module setuptools} BuildRequires: fdupes -BuildRequires: python-devel -BuildRequires: python-setuptools +BuildRequires: python-rpm-macros Requires: python-setuptools -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch +%python_subpackages %description ConfigArgParse allows options to also be set via config files and/or environment @@ -47,17 +48,20 @@ %setup -q -n ConfigArgParse-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root %{buildroot} +%python_install %fdupes %{buildroot} -%files -%defattr(-,root,root,-) +%check +%python_exec setup.py test + +%files %{python_files} %{python_sitelib}/configargparse* -%{python_sitelib}/ConfigArgParse-%{version}-py2.7.egg-info -%doc LICENSE +%{python_sitelib}/ConfigArgParse-%{version}-py*.egg-info +%pycache_only %{python_sitelib}/__pycache__ +%license LICENSE %changelog