10 Commits

Author SHA256 Message Date
2fdfbc3516 Accepting request 1300820 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300820
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=16
2025-08-22 15:47:14 +00:00
2f8e6ea6cf - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=34
2025-08-21 15:25:24 +00:00
30a6048fc4 Accepting request 1294494 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1294494
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=15
2025-07-21 17:59:06 +00:00
f8593b405c - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=32
2025-07-19 07:29:00 +00:00
77c655e039 Accepting request 1248500 from devel:languages:python
- update to 1.12.1.2:
  * Fix *another* packaging error (more missing testcase data!).
    LP #2098833
  * Fix packaging error which prevents running tests from the
    released sdist.
  * Disuse the metadata of the installed 'pkginfo' package for
    testing:
  * during creation of the various 'tox' environments,
    different versions of 'setuptools' will overwrite that file
    with different metadata (version, 'Dynamic' headers, etc).

OBS-URL: https://build.opensuse.org/request/show/1248500
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=14
2025-02-26 16:14:22 +00:00
8a65edc9a3 - update to 1.12.1.2:
* Fix *another* packaging error (more missing testcase data!).
    LP #2098833
  * Fix packaging error which prevents running tests from the
    released sdist.
  * Disuse the metadata of the installed 'pkginfo' package for
    testing:
  * during creation of the various 'tox' environments,
    different versions of 'setuptools' will overwrite that file
    with different metadata (version, 'Dynamic' headers, etc).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=30
2025-02-25 21:05:29 +00:00
8dd3ec3dc1 Accepting request 1229913 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1229913
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=13
2024-12-11 20:01:09 +00:00
facd34d59b Accepting request 1229877 from home:mcalabkova:branches:devel:languages:python
- Update to 1.12.0
  * Declare content type of long description explicitly as ‘text/x-rst’.
  * Support ‘metadata_version’ == ‘2.4’ (PEP 639).

OBS-URL: https://build.opensuse.org/request/show/1229877
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=28
2024-12-10 17:24:22 +00:00
78158340c6 Accepting request 1224647 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1224647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pkginfo?expand=0&rev=12
2024-11-18 18:57:10 +00:00
bb53e7ac90 Accepting request 1224486 from home:glaubitz:branches:devel:languages:python
- Update to 1.11.2
  * Swap order of zip/tarball checks to work around archives which fool
    'zipfile.is_zipfile'.  LP #2084140.

OBS-URL: https://build.opensuse.org/request/show/1224486
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pkginfo?expand=0&rev=26
2024-11-17 11:03:06 +00:00
2 changed files with 24 additions and 1 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Aug 21 15:25:03 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Sat Jul 19 07:28:46 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Tue Feb 25 21:03:21 UTC 2025 - Dirk Müller <dmueller@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-pkginfo
Version: 1.12.1.2
@@ -32,9 +37,14 @@ BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%endif
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module wheel}
@@ -71,6 +81,9 @@ sed -iE "s/_make_installed('wheel')/_make_installed('wheel', metadata_version='2
%postun
%python_uninstall_alternative pkginfo
%pre
%python_libalternatives_reset_alternative pkginfo
%files %{python_files}
%license LICENSE.txt
%doc README.txt CHANGES.txt TODO.txt