diff --git a/python-python-slugify.changes b/python-python-slugify.changes index b043527..d6c5ca5 100644 --- a/python-python-slugify.changes +++ b/python-python-slugify.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Tue Feb 19 17:11:03 UTC 2019 - John Vandenberg + +- Activated test suite +- Update to v2.0.1 + * Add replacements option e.g. [['|', 'or'], ['%', 'percent'], ['-', '_']] +- from 2.0.0 + * Fix alternative dependency installation +-from 1.2.6 + * Add support for case sensitive slugs + ------------------------------------------------------------------- Tue Dec 4 12:53:07 UTC 2018 - Matej Cepl diff --git a/python-python-slugify.spec b/python-python-slugify.spec index 135cf21..e692ee2 100644 --- a/python-python-slugify.spec +++ b/python-python-slugify.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-slugify # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -17,21 +17,18 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_with test Name: python-python-slugify -Version: 1.2.5 +Version: 2.0.1 Release: 0 Summary: Slugify application that handles Unicode License: MIT Group: Development/Languages/Python Url: https://github.com/un33k/python-slugify -Source: https://files.pythonhosted.org/packages/source/p/python-slugify/python-slugify-%{version}.tar.gz +Source: https://github.com/un33k/python-slugify/archive/%{version}.tar.gz#/python-slugify-%{version}.tar.gz +BuildRequires: %{python_module Unidecode >= 0.04.16} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -%if %{with test} -BuildRequires: %{python_module Unidecode >= 0.04.16} -%endif Conflicts: python-awesome-slugify Requires: python-Unidecode >= 0.04.16 BuildArch: noarch @@ -51,14 +48,11 @@ A Python Slugify application that handles Unicode %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%if %{with test} %check -%python_exec setup.py test -%endif +%python_exec ./test.py %files %{python_files} -%defattr(-,root,root,-) -%doc CHANGELOG.md README.rst +%doc CHANGELOG.md README.md %license LICENSE %python3_only %{_bindir}/slugify %{python_sitelib}/python_slugify-%{version}-py*.egg-info diff --git a/python-slugify-1.2.5.tar.gz b/python-slugify-1.2.5.tar.gz deleted file mode 100644 index 427b08e..0000000 --- a/python-slugify-1.2.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5dbb360b882b2dabe0471a1a92f604504d83c2a73c71f2098d004ab62e695534 -size 6594 diff --git a/python-slugify-2.0.1.tar.gz b/python-slugify-2.0.1.tar.gz new file mode 100644 index 0000000..9d59780 --- /dev/null +++ b/python-slugify-2.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a63e563d35cb6593e7411e18d9dbf90bd48866b45cb97c88c8cf0eaa14b0cca8 +size 8453