diff --git a/python-furl.changes b/python-furl.changes index cb0e186..ea5bfda 100644 --- a/python-furl.changes +++ b/python-furl.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Aug 19 16:28:12 UTC 2022 - Ben Greiner + +- Skip python2: Fixes 15.X build +- Remove flake8 test requirement: no code linting required for + packaging + ------------------------------------------------------------------- Mon May 17 10:41:58 UTC 2021 - pgajdos@suse.com diff --git a/python-furl.spec b/python-furl.spec index 755e0a6..c84742e 100644 --- a/python-furl.spec +++ b/python-furl.spec @@ -1,7 +1,7 @@ # # spec file for package python-furl # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-furl Version: 2.1.2 Release: 0 @@ -28,12 +29,11 @@ Source: https://files.pythonhosted.org/packages/source/f/furl/furl-%{ver BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-orderedmultidict >= 1.0 +Requires: python-orderedmultidict >= 1.0.1 Requires: python-six >= 1.8.0 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module flake8} -BuildRequires: %{python_module orderedmultidict >= 1.0} +BuildRequires: %{python_module orderedmultidict >= 1.0.1} BuildRequires: %{python_module pytest} BuildRequires: %{python_module six >= 1.8.0} # /SECTION @@ -44,18 +44,14 @@ furl is a Python library for parsing and manipulating URLs. %prep %autosetup -p1 -n furl-%{version} - -chmod -x *.md +chmod -x *.md furl.egg-info/* %build %python_build %install %python_install -%{python_expand # -chmod -x %{buildroot}%{$python_sitelib}/furl-%{version}*-info/* -%fdupes %{buildroot}%{$python_sitelib} -} +%python_expand %fdupes %{buildroot}%{$python_sitelib} %check %pytest