diff --git a/python-furl.changes b/python-furl.changes index cc93691..f24b60b 100644 --- a/python-furl.changes +++ b/python-furl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Jul 24 09:54:00 UTC 2019 - Tomáš Chvátal + +- Format with spec-cleaner + ------------------------------------------------------------------- Sun Jun 2 04:03:55 AM UTC 2019 - John Vandenberg diff --git a/python-furl.spec b/python-furl.spec index 69f9914..1e06e71 100644 --- a/python-furl.spec +++ b/python-furl.spec @@ -12,31 +12,30 @@ # 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-furl Version: 2.0.0 Release: 0 -License: Unlicense (FIXME:No SPDX) Summary: URL manipulation made simple -Url: https://github.com/gruns/furl +License: Unlicense Group: Development/Languages/Python +URL: https://github.com/gruns/furl Source: https://files.pythonhosted.org/packages/source/f/furl/furl-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} -# SECTION test requirements -BuildRequires: %{python_module orderedmultidict >= 1.0} -BuildRequires: %{python_module six >= 1.8.0} -BuildRequires: %{python_module flake8} -BuildRequires: %{python_module six >= 1.8.0} -# /SECTION BuildRequires: fdupes +BuildRequires: python-rpm-macros Requires: python-orderedmultidict >= 1.0 Requires: python-six >= 1.8.0 BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module flake8} +BuildRequires: %{python_module orderedmultidict >= 1.0} +BuildRequires: %{python_module six >= 1.8.0} +# /SECTION %python_subpackages %description @@ -44,6 +43,7 @@ URL manipulation made simple. %prep %setup -q -n furl-%{version} +chmod -x README.md %build %python_build @@ -51,6 +51,7 @@ URL manipulation made simple. %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} + %check %python_exec setup.py test