17
0

6 Commits

Author SHA256 Message Date
9e1a238d25 Accepting request 1300246 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1300246
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-convertdate?expand=0&rev=11
2025-08-20 11:25:16 +00:00
07c3bbfee2 - Make the libalternatives transition conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-convertdate?expand=0&rev=23
2025-08-12 08:17:55 +00:00
4e83b44a6b Accepting request 1288525 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1288525
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-convertdate?expand=0&rev=10
2025-06-26 09:34:33 +00:00
a4e61b85fb - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-convertdate?expand=0&rev=21
2025-06-25 12:06:29 +00:00
d84958cee4 Accepting request 1284018 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1284018
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-convertdate?expand=0&rev=9
2025-06-10 06:56:51 +00:00
c6fb730573 Accepting request 1283764 from home:bmwiedemann:branches:devel:languages:python
Replace usage of %jobs (boo#1237231)

OBS-URL: https://build.opensuse.org/request/show/1283764
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-convertdate?expand=0&rev=19
2025-06-09 08:23:33 +00:00
2 changed files with 32 additions and 5 deletions

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Aug 12 08:17:05 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Make the libalternatives transition conditional
-------------------------------------------------------------------
Wed Jun 25 12:06:07 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Sat Jun 7 03:51:44 UTC 2025 - Bernhard Wiedemann <bwiedemann@suse.com>
- Replace usage of %jobs (boo#1237231)
-------------------------------------------------------------------
Thu May 4 18:59:03 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-convertdate
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-convertdate
Version: 2.4.0
@@ -31,13 +35,18 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyMeeus >= 0.3.6
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
# SECTION test requirements
BuildRequires: %{python_module PyMeeus >= 0.3.6}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest}
# /SECTION
Requires(post): update-alternatives
Requires(postun):update-alternatives
%python_subpackages
%description
@@ -61,7 +70,10 @@ export LC_ALL="en_US.UTF8"
%check
export LC_ALL="en_US.UTF8"
%pytest %{?jobs:-n %jobs}
%pytest -n $(echo %{?_smp_mflags} | cut -c 3-)
%pre
%python_libalternatives_reset_alternative censusgeocode
%post
%python_install_alternative censusgeocode