From dbb6baf0d647e51f6ad9cf3421699d5e8b45d98ca2a202a402e1f11e3cf652c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 22 Mar 2019 14:18:22 +0000 Subject: [PATCH] - Regenerate all the cython files - Run fdupes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-datrie?expand=0&rev=12 --- python-datrie.changes | 6 ++++++ python-datrie.spec | 7 ++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/python-datrie.changes b/python-datrie.changes index 682ecc3..15d347a 100644 --- a/python-datrie.changes +++ b/python-datrie.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Mar 22 14:18:03 UTC 2019 - Tomáš Chvátal + +- Regenerate all the cython files +- Run fdupes + ------------------------------------------------------------------- Mon Mar 4 09:56:56 UTC 2019 - John Vandenberg diff --git a/python-datrie.spec b/python-datrie.spec index fd97137..d78d6b6 100644 --- a/python-datrie.spec +++ b/python-datrie.spec @@ -23,7 +23,7 @@ Release: 0 Summary: Trie data structure for Python License: LGPL-2.1-or-later Group: Development/Languages/Python -Url: https://github.com/kmike/datrie +URL: https://github.com/kmike/datrie Source: https://files.pythonhosted.org/packages/source/d/datrie/datrie-%{version}.tar.gz Patch0: datrie-bigendian.patch Patch1: reproducible.patch @@ -33,9 +33,8 @@ BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module pytest-runner} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -47,6 +46,7 @@ A trie data structure for Python (2.x and 3.x). Uses libdatrie. %patch1 -p1 pushd src cython datrie.pyx +cython *.pxd popd %build @@ -54,6 +54,7 @@ popd %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check %python_exec setup.py test