forked from pool/python-python-slugify
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
298c1d9dc3 | |||
f3f359ba8a | |||
3a428a936d | |||
896b475eb8 |
@@ -1,8 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Mon Aug 25 12:29:33 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
|
||||||
|
|
||||||
- Convert to libalternatives on SLE-16-based and newer systems
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 11 05:49:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
Wed Jun 11 05:49:34 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-python-slugify
|
# spec file for package python-python-slugify
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,13 +16,8 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define short_name python-slugify
|
|
||||||
%if 0%{?suse_version} > 1500
|
|
||||||
%bcond_without libalternatives
|
|
||||||
%else
|
|
||||||
%bcond_with libalternatives
|
|
||||||
%endif
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
|
%define short_name python-slugify
|
||||||
Name: python-%{short_name}
|
Name: python-%{short_name}
|
||||||
Version: 8.0.4
|
Version: 8.0.4
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -37,16 +32,11 @@ BuildRequires: %{python_module wheel}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-text-unidecode >= 1.3
|
Requires: python-text-unidecode >= 1.3
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
Suggests: python-Unidecode >= 1.1.1
|
Suggests: python-Unidecode >= 1.1.1
|
||||||
Conflicts: python-awesome-slugify
|
Conflicts: python-awesome-slugify
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with libalternatives}
|
|
||||||
BuildRequires: alts
|
|
||||||
Requires: alts
|
|
||||||
%else
|
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
%endif
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@@ -72,9 +62,6 @@ A Python Slugify application that handles Unicode.
|
|||||||
%postun
|
%postun
|
||||||
%python_uninstall_alternative slugify
|
%python_uninstall_alternative slugify
|
||||||
|
|
||||||
%pre
|
|
||||||
%python_libalternatives_reset_alternative slugify
|
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%doc CHANGELOG.md README.md
|
%doc CHANGELOG.md README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
Reference in New Issue
Block a user