Compare commits
2 Commits
Author | SHA256 | Date | |
---|---|---|---|
c15a061944 | |||
beccd28d9d |
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-Faker
|
Name: python-Faker
|
||||||
Version: 26.1.0
|
Version: 26.1.0
|
||||||
@@ -31,12 +32,12 @@ BuildRequires: %{python_module python-dateutil >= 2.4}
|
|||||||
BuildRequires: %{python_module text-unidecode >= 1.3}
|
BuildRequires: %{python_module text-unidecode >= 1.3}
|
||||||
BuildRequires: %{python_module validators >= 0.13.0}
|
BuildRequires: %{python_module validators >= 0.13.0}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
|
BuildRequires: alts
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: alts
|
||||||
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}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -62,11 +63,8 @@ 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}
|
||||||
|
|
||||||
%post
|
%pre
|
||||||
%python_install_alternative faker
|
%python_libalternatives_reset_alternative faker
|
||||||
|
|
||||||
%postun
|
|
||||||
%python_uninstall_alternative faker
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%pytest
|
%pytest
|
||||||
|
Reference in New Issue
Block a user