diff --git a/python-requestbuilder.changes b/python-requestbuilder.changes index 80e5919..53ccf02 100644 --- a/python-requestbuilder.changes +++ b/python-requestbuilder.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Sep 16 21:23:14 UTC 2020 - Dirk Mueller + +- modernize, switch to singlespec, update to 0.7.1 + +------------------------------------------------------------------- Mon Oct 21 02:34:24 UTC 2013 - intijk@gmail.com - Initial release diff --git a/python-requestbuilder.spec b/python-requestbuilder.spec index 2631034..8f03c31 100644 --- a/python-requestbuilder.spec +++ b/python-requestbuilder.spec @@ -1,7 +1,7 @@ # -# spec file for package +# spec file for package python-requestbuilder # -# Copyright (c) 2013 SUSE LINUX Products 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,24 +12,27 @@ # 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: python-requestbuilder -Version: 0.1.0 -Release: 0 -License: ISC -Summary: Command line-driven HTTP request builder -Url: https://github.com/boto/requestbuilder -Group: Development/Languages/Python -Source: requestbuilder-%{version}.tar.gz -BuildRequires: python -BuildRequires: python-devel -BuildRequires: python-distribute -Requires: python -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Version: 0.7.1 +Release: 0 +Summary: Command line-driven HTTP request builder +License: ISC +Group: Development/Languages/Python +URL: https://github.com/boto/requestbuilder +Source: https://files.pythonhosted.org/packages/source/r/requestbuilder/requestbuilder-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: python-rpm-macros BuildArch: noarch +%python_subpackages + %description Command line-driven HTTP request builder @@ -37,15 +40,13 @@ Command line-driven HTTP request builder %setup -q -n requestbuilder-%{version} %build -python setup.py build +%python_build %install -python setup.py install --prefix=%{_prefix} --root=%{buildroot} +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%files -%defattr(-,root,root) -%doc README COPYING +%files %{python_files} %{python_sitelib}/* %changelog - diff --git a/requestbuilder-0.1.0.tar.gz b/requestbuilder-0.1.0.tar.gz deleted file mode 100644 index 4f6a822..0000000 --- a/requestbuilder-0.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1642541048c7287568ebe45076d1f48477e5c408e150f558d128cdbedd19cfe8 -size 26385 diff --git a/requestbuilder-0.7.1.tar.gz b/requestbuilder-0.7.1.tar.gz new file mode 100644 index 0000000..d292315 --- /dev/null +++ b/requestbuilder-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84ed99ab55e6a549686af32328b2b15a1f5416800ee23b65346edd7a84706089 +size 33534