|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-iso3166
|
|
|
|
# spec file for package python-iso3166
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2022 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -16,7 +16,6 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
|
|
|
|
|
|
Name: python-iso3166
|
|
|
|
Name: python-iso3166
|
|
|
|
Version: 2.1.1
|
|
|
|
Version: 2.1.1
|
|
|
|
Release: 0
|
|
|
|
Release: 0
|
|
|
|
@@ -25,8 +24,10 @@ License: MIT
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
URL: https://github.com/deactivated/python-iso3166
|
|
|
|
URL: https://github.com/deactivated/python-iso3166
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/i/iso3166/iso3166-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/i/iso3166/iso3166-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
@@ -41,10 +42,10 @@ between these codes and the corresponding country name.
|
|
|
|
%setup -q -n iso3166-%{version}
|
|
|
|
%setup -q -n iso3166-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
@@ -53,6 +54,7 @@ between these codes and the corresponding country name.
|
|
|
|
%files %{python_files}
|
|
|
|
%files %{python_files}
|
|
|
|
%doc CHANGES README.rst
|
|
|
|
%doc CHANGES README.rst
|
|
|
|
%license LICENSE.txt
|
|
|
|
%license LICENSE.txt
|
|
|
|
%{python_sitelib}/*
|
|
|
|
%{python_sitelib}/iso3166
|
|
|
|
|
|
|
|
%{python_sitelib}/iso3166-%{version}*-info
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|