9 Commits

Author SHA256 Message Date
447caf4561 Accepting request 1300283 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300283
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=61
2025-08-20 11:24:43 +00:00
3ce537812d - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=127
2025-08-19 12:17:09 +00:00
90b8d46506 Accepting request 1291281 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291281
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=60
2025-07-09 15:26:14 +00:00
8647724c30 - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=125
2025-07-08 13:18:33 +00:00
8718b50883 Accepting request 1266124 from devel:languages:python
- Make the dist-info name case-insensitive.
- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=59
2025-04-11 14:44:48 +00:00
acef07e55d Accepting request 1266102 from home:mcalabkova:branches:devel:languages:python
- Make the dist-info name case-insensitive.

OBS-URL: https://build.opensuse.org/request/show/1266102
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=123
2025-04-01 12:17:48 +00:00
981167ad82 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=122
2025-03-25 02:33:36 +00:00
2f91b6a8c8 Accepting request 1191653 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1191653
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Faker?expand=0&rev=58
2024-08-07 04:10:08 +00:00
e0e857dcbf Accepting request 1191644 from home:glaubitz:branches:devel:languages:python
- Update to 26.1.0
  * Add more entries to `sk_SK` Geo provider.

OBS-URL: https://build.opensuse.org/request/show/1191644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Faker?expand=0&rev=120
2024-08-05 11:56:56 +00:00
2 changed files with 25 additions and 2 deletions

View File

@@ -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>

View File

@@ -16,6 +16,11 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-Faker
Version: 26.1.0
@@ -35,10 +40,15 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-python-dateutil >= 2.4
Requires: python-text-unidecode >= 1.3
Requires(post): update-alternatives
Requires(postun): update-alternatives
Obsoletes: 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
%python_subpackages
@@ -62,6 +72,9 @@ sed -i -e 's:==:>=:g' setup.py
%python_clone -a %{buildroot}%{_bindir}/faker
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%pre
%python_libalternatives_reset_alternative faker
%post
%python_install_alternative faker