diff --git a/python-Unidecode.changes b/python-Unidecode.changes index b8a372a..681283b 100644 --- a/python-Unidecode.changes +++ b/python-Unidecode.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 6 14:30:29 UTC 2018 - Tomáš Chvátal + +- Run correct fdupes call + ------------------------------------------------------------------- Tue Dec 4 12:55:35 UTC 2018 - Matej Cepl diff --git a/python-Unidecode.spec b/python-Unidecode.spec index 66bfaf6..48c3129 100644 --- a/python-Unidecode.spec +++ b/python-Unidecode.spec @@ -23,14 +23,13 @@ Release: 0 Summary: ASCII transliterations of Unicode text License: GPL-2.0-or-later Group: Development/Languages/Python -Url: https://pypi.python.org/pypi/Unidecode +URL: https://pypi.python.org/pypi/Unidecode Source: https://files.pythonhosted.org/packages/source/U/Unidecode/Unidecode-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives Requires(preun): update-alternatives -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch %python_subpackages @@ -41,7 +40,7 @@ doesn't support Unicode, or for ease of entry of non-Roman names on a US keyboard, or when constructing ASCII machine identifiers from human-readable Unicode strings that should still be somewhat intelligible (a popular example of this is when making an URL slug from an article -title). +title). In most of these examples you could represent Unicode characters as "???" or "\\15BA\\15A0\\1610", to mention two extreme cases. But that's @@ -80,12 +79,12 @@ Sean M. Burke . %install %python_install -%python_expand %fdupes %{buildroot}/%_prefix +%python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/unidecode +%python_clone -a %{buildroot}%{_bindir}/unidecode %check -export LANG=en_US.UTF-8 +export LANG=en_US.UTF-8 %python_exec setup.py test %post @@ -94,8 +93,7 @@ export LANG=en_US.UTF-8 %preun %python_uninstall_alternative unidecode -%files %python_files -%defattr(-,root,root,-) +%files %{python_files} %license LICENSE %doc ChangeLog README.rst %{python_sitelib}/*