SHA256
1
0
forked from pool/python-Faker

5 Commits

2 changed files with 22 additions and 9 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
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>
- Make the dist-info name case-insensitive.
-------------------------------------------------------------------
Tue Mar 25 02:33:21 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 5 11:02:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Mon Aug 5 11:02:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Faker # spec file for package python-Faker
# #
# Copyright (c) 2024 SUSE LLC # 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,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
@@ -76,6 +74,6 @@ sed -i -e 's:==:>=:g' setup.py
%doc CHANGELOG.md README.rst %doc CHANGELOG.md README.rst
%python_alternative %{_bindir}/faker %python_alternative %{_bindir}/faker
%{python_sitelib}/faker %{python_sitelib}/faker
%{python_sitelib}/Faker-%{version}*-info %{python_sitelib}/[fF]aker-%{version}.dist-info
%changelog %changelog