Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
447caf4561 | |||
3ce537812d | |||
90b8d46506 | |||
8647724c30 | |||
8718b50883 | |||
acef07e55d | |||
981167ad82 | |||
2f91b6a8c8 | |||
e0e857dcbf |
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 19 12:11:40 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives on SLE-16-based and newer systems only
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 8 13:18:02 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to libalternatives
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Apr 1 11:43:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Tue Apr 1 11:43:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
@@ -16,6 +16,11 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Faker
|
Name: python-Faker
|
||||||
Version: 26.1.0
|
Version: 26.1.0
|
||||||
@@ -35,10 +40,15 @@ BuildRequires: fdupes
|
|||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-python-dateutil >= 2.4
|
Requires: python-python-dateutil >= 2.4
|
||||||
Requires: python-text-unidecode >= 1.3
|
Requires: python-text-unidecode >= 1.3
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun): update-alternatives
|
|
||||||
Obsoletes: python3-fake-factory < %{version}-%{release}
|
Obsoletes: python3-fake-factory < %{version}-%{release}
|
||||||
Provides: python3-fake-factory = %{version}-%{release}
|
Provides: python3-fake-factory = %{version}-%{release}
|
||||||
|
%if %{with libalternatives}
|
||||||
|
BuildRequires: alts
|
||||||
|
Requires: alts
|
||||||
|
%else
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(postun): update-alternatives
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -62,6 +72,9 @@ sed -i -e 's:==:>=:g' setup.py
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/faker
|
%python_clone -a %{buildroot}%{_bindir}/faker
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative faker
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative faker
|
%python_install_alternative faker
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user