forked from pool/python-PyICU
- Version update to 2.2:
* Many fixes to build well with newest ICU releases - Drop not really needed service - Cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyICU?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
a7416abbdb
commit
c045f610d5
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd8fedfb7e790fb829d0051a27295770146447e4176cb1b6425992e9b5016f10
|
||||
size 194525
|
3
PyICU-2.2.tar.gz
Normal file
3
PyICU-2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ea6ae8bb6845e2e145cf03cd80cf258487b80fca3669ae8a7bf0c5105df10973
|
||||
size 211135
|
4
_service
4
_service
@@ -1,4 +0,0 @@
|
||||
<services>
|
||||
<service name="download_files" mode="disabled">
|
||||
</service>
|
||||
</services>
|
@@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 1 09:00:57 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Version update to 2.2:
|
||||
* Many fixes to build well with newest ICU releases
|
||||
- Drop not really needed service
|
||||
- Cleanup with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 24 09:34:53 UTC 2018 - mlin@suse.com
|
||||
|
||||
|
@@ -12,42 +12,32 @@
|
||||
# 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-%{**}}
|
||||
%global modname PyICU
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 2.0.2
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: Python Extension Wrapping the ICU C++ API
|
||||
License: MIT
|
||||
Group: Development/Libraries/Python
|
||||
Url: https://github.com/ovalhub/pyicu
|
||||
Source0: https://pypi.io/packages/source/P/%{modname}/%{modname}-%{version}.tar.gz
|
||||
%{?python_provide:%python_provide python-%{modname}}
|
||||
URL: https://github.com/ovalhub/pyicu
|
||||
Source0: https://files.pythonhosted.org/packages/source/P/PyICU/%{modname}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
BuildRequires: pkgconfig(icu-uc)
|
||||
Provides: %{modname} = %{version}
|
||||
Provides: python-ICU = %{version}
|
||||
Obsoletes: python-ICU < 1.2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%if 0%{?suse_version} > 1320
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
%if 0%{?suse_version} >= 1210
|
||||
BuildRequires: pkgconfig(icu-i18n)
|
||||
BuildRequires: pkgconfig(icu-uc)
|
||||
%else
|
||||
BuildRequires: libicu-devel
|
||||
Requires: python = %{py_ver}
|
||||
%endif
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -64,23 +54,15 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%if 0%{?suse_version} > 1320
|
||||
%check
|
||||
# Running test on python3 only due to pyicu issue 61
|
||||
%if 0%{?have_python3}
|
||||
python3 setup.py test
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%if 0%{?suse_version} >= 1310
|
||||
%doc CHANGES CREDITS LICENSE README.md
|
||||
%else
|
||||
%doc CHANGES CREDITS LICENSE README
|
||||
%endif
|
||||
%license LICENSE
|
||||
%doc CHANGES CREDITS README.md
|
||||
%{python_sitearch}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user