diff --git a/charset_normalizer-0.1.8.tar.gz b/charset_normalizer-0.1.8.tar.gz index 34e2aed..35b1d1e 100644 --- a/charset_normalizer-0.1.8.tar.gz +++ b/charset_normalizer-0.1.8.tar.gz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f830db9291cce51366fc669033629d1a7dfbb3dbd431798b0e592d9d429e72cc -size 343664 +oid sha256:99a367f9b2e62880bf5966a0d79dd02677f6ee492f63e4c7d7bf397c90ff32ae +size 345286 diff --git a/python-charset-normalizer.spec b/python-charset-normalizer.spec index 8545616..02f28c8 100644 --- a/python-charset-normalizer.spec +++ b/python-charset-normalizer.spec @@ -12,7 +12,8 @@ # 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-%{**}} @@ -21,29 +22,28 @@ Name: python-charset-normalizer Version: 0.1.8 Release: 0 -License: MIT Summary: Python Universal Charset detector -Url: https://github.com/ousret/charset_normalizer +License: MIT Group: Development/Languages/Python +URL: https://github.com/ousret/charset_normalizer Source: https://github.com/Ousret/charset_normalizer/archive/%{version}.tar.gz#/charset_normalizer-%{version}.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} -# SECTION test requirements -BuildRequires: %{python_module cached-property} -BuildRequires: %{python_module dragonmapper} -BuildRequires: %{python_module PrettyTable} -BuildRequires: %{python_module zhon} -BuildRequires: %{python_module pytest-runner} -# /SECTION BuildRequires: dos2unix BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-PrettyTable Requires: python-cached-property Requires: python-dragonmapper -Requires: python-PrettyTable Requires: python-zhon Suggests: python-requests-html BuildArch: noarch - +# SECTION test requirements +BuildRequires: %{python_module PrettyTable} +BuildRequires: %{python_module cached-property} +BuildRequires: %{python_module dragonmapper} +BuildRequires: %{python_module pytest-runner} +BuildRequires: %{python_module zhon} +# /SECTION %python_subpackages %description