Compare commits
10 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 2fdfbc3516 | |||
| 2f8e6ea6cf | |||
| 30a6048fc4 | |||
| f8593b405c | |||
| 77c655e039 | |||
| 8a65edc9a3 | |||
| 8dd3ec3dc1 | |||
| facd34d59b | |||
| 78158340c6 | |||
| bb53e7ac90 |
BIN
pkginfo-1.11.1.tar.gz
LFS
BIN
pkginfo-1.11.1.tar.gz
LFS
Binary file not shown.
BIN
pkginfo-1.12.1.2.tar.gz
LFS
Normal file
BIN
pkginfo-1.12.1.2.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +1,41 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
- 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).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 10 13:42:20 UTC 2024 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Update to 1.12.0
|
||||
* Declare content type of long description explicitly as ‘text/x-rst’.
|
||||
* Support ‘metadata_version’ == ‘2.4’ (PEP 639).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 15 16:40:01 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
|
||||
|
||||
- Update to 1.11.2
|
||||
* Swap order of zip/tarball checks to work around archives which fool
|
||||
'zipfile.is_zipfile'. LP #2084140.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 20 13:21:37 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pkginfo
|
||||
#
|
||||
# Copyright (c) 2024 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,9 +16,14 @@
|
||||
#
|
||||
|
||||
|
||||
%if 0%{?suse_version} > 1500
|
||||
%bcond_without libalternatives
|
||||
%else
|
||||
%bcond_with libalternatives
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pkginfo
|
||||
Version: 1.11.1
|
||||
Version: 1.12.1.2
|
||||
Release: 0
|
||||
Summary: Python package for querying metadatdata from sdists/bdists/installed packages
|
||||
License: MIT
|
||||
@@ -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}
|
||||
@@ -61,6 +71,8 @@ the *.egg-info stored in a "development checkout"
|
||||
%python_clone -a %{buildroot}%{_bindir}/pkginfo
|
||||
|
||||
%check
|
||||
# install wheel in tests with an explicit metadata version, looks like we have a different default (openSUSE-only)
|
||||
sed -iE "s/_make_installed('wheel')/_make_installed('wheel', metadata_version='2.3')/" pkginfo/tests/test_installed.py
|
||||
%pytest
|
||||
|
||||
%post
|
||||
@@ -69,6 +81,9 @@ the *.egg-info stored in a "development checkout"
|
||||
%postun
|
||||
%python_uninstall_alternative pkginfo
|
||||
|
||||
%pre
|
||||
%python_libalternatives_reset_alternative pkginfo
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
%doc README.txt CHANGES.txt TODO.txt
|
||||
|
||||
Reference in New Issue
Block a user