14
0
forked from pool/python-PyICU
2023-06-25 19:30:42 +00:00
committed by Git OBS Bridge
parent b0b713c4ba
commit aa51bc1ad4
2 changed files with 9 additions and 3 deletions

View File

@@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global modname PyICU
Name: python-%{modname}
Version: 2.11
@@ -25,7 +24,7 @@ Summary: Python Extension Wrapping the ICU C++ API
License: MIT
Group: Development/Libraries/Python
URL: https://gitlab.pyicu.org
Source0: https://files.pythonhosted.org/packages/03/1b/800fce0236be0b8a99b3ccbb797786dd178028960b3fd65544e2d8bad5ac/PyICU-2.11.tar.gz
Source0: https://files.pythonhosted.org/packages/source/P/PyICU/PyICU-2.11.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -39,6 +38,7 @@ BuildRequires: pkgconfig(icu-uc)
Provides: %{modname} = %{version}
Provides: python-ICU = %{version}
Obsoletes: python-ICU < 1.2
%{?sle15_python_module_pythons}
%python_subpackages
%description
@@ -63,6 +63,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%files %{python_files}
%license LICENSE
%doc CHANGES CREDITS README.md
%{python_sitearch}/*
%{python_sitearch}/icu
%{python_sitearch}/PyICU-%{version}*-info
%changelog