From 91dcff746e6c50b8c07f788df42e773074e0e32b451b035d4040289b0924f9be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Aug 2018 08:07:10 +0000 Subject: [PATCH 1/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jellyfish?expand=0&rev=3 --- jellyfish-0.5.6.tar.gz | 3 --- jellyfish-0.6.1.tar.gz | 3 +++ python-jellyfish.spec | 15 ++++++--------- 3 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 jellyfish-0.5.6.tar.gz create mode 100644 jellyfish-0.6.1.tar.gz diff --git a/jellyfish-0.5.6.tar.gz b/jellyfish-0.5.6.tar.gz deleted file mode 100644 index 215dc08..0000000 --- a/jellyfish-0.5.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:887a9a49d0caee913a883c3e7eb185f6260ebe2137562365be422d1316bd39c9 -size 132177 diff --git a/jellyfish-0.6.1.tar.gz b/jellyfish-0.6.1.tar.gz new file mode 100644 index 0000000..927ca77 --- /dev/null +++ b/jellyfish-0.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5104e45a2b804b48a46a92a5e6d6e86830fe60ae83b1da32c867402c8f4c2094 +size 132560 diff --git a/python-jellyfish.spec b/python-jellyfish.spec index 55b2c15..5b31d54 100644 --- a/python-jellyfish.spec +++ b/python-jellyfish.spec @@ -1,7 +1,7 @@ # # spec file for package python-jellyfish # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,17 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-jellyfish -Version: 0.5.6 +Version: 0.6.1 Release: 0 Summary: A library for doing approximate and phonetic matching of strings License: BSD-2-Clause Group: Development/Languages/Python -Url: http://github.com/jamesturk/jellyfish -Source: https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-0.5.6.tar.gz -BuildRequires: %{python_module devel} +URL: http://github.com/jamesturk/jellyfish +Source: https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-%{version}.tar.gz BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module unicodecsv} BuildRequires: python-rpm-macros -BuildRoot: %{_tmppath}/%{name}-%{version}-build - %python_subpackages %description @@ -59,8 +56,8 @@ Match Rating Codex. %python_exec setup.py test %files %{python_files} -%defattr(-,root,root,-) -%doc LICENSE README.rst +%license LICENSE +%doc README.rst %{python_sitearch}/* %changelog From 409185c659766c133974c26d92def1472bea2950510ca94001a1bcf9dbf4eebb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Aug 2018 08:12:40 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jellyfish?expand=0&rev=4 --- python-jellyfish.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-jellyfish.spec b/python-jellyfish.spec index 5b31d54..83d533f 100644 --- a/python-jellyfish.spec +++ b/python-jellyfish.spec @@ -25,9 +25,11 @@ License: BSD-2-Clause Group: Development/Languages/Python URL: http://github.com/jamesturk/jellyfish Source: https://files.pythonhosted.org/packages/source/j/jellyfish/jellyfish-%{version}.tar.gz +BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module unicodecsv} +BuildRequires: fdupes BuildRequires: python-rpm-macros %python_subpackages @@ -51,9 +53,11 @@ Match Rating Codex. %install %python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} %check -%python_exec setup.py test +# Tests actually do some crazy import order +#%%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} py.test-%{$python_version} jellyfish/test.py %files %{python_files} %license LICENSE From 5f45e447e96c986d44b201dde7110e18bef7ea25819a9cd5bf89ece85e7e36fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 2 Aug 2018 08:13:18 +0000 Subject: [PATCH 3/3] - Version update to 0.6.1: * Various unicode fixes OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jellyfish?expand=0&rev=5 --- python-jellyfish.changes | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/python-jellyfish.changes b/python-jellyfish.changes index 6c86cde..099e7b8 100644 --- a/python-jellyfish.changes +++ b/python-jellyfish.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 2 08:12:40 UTC 2018 - tchvatal@suse.com + +- Version update to 0.6.1: + * Various unicode fixes + ------------------------------------------------------------------- Mon Apr 10 08:09:52 UTC 2017 - alarrosa@suse.com