17
0

Compare commits

4 Commits

4 changed files with 27 additions and 17 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:64a640445542cf226919657c7b78d02d9c1ca5b1c25d7e66e0e1ff325060f416
size 40272

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d300f9f292986aa1a30424af44eb45c5644e0a810e392e62d553b24bb3393494
size 44827

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Jun 25 12:54:54 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Wed Dec 11 10:46:24 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.50
* Add Python 3.12 and 3.13 support.
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Wed Feb 28 05:56:23 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-check-manifest
#
# 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
@@ -24,28 +24,26 @@
%define psuffix %{nil}
%bcond_with test
%endif
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-check-manifest%{psuffix}
Version: 0.49
Version: 0.50
Release: 0
Summary: Tool to check Python source package MANIFEST.in for completeness
License: MIT
URL: https://github.com/mgedmin/check-manifest
Source: https://files.pythonhosted.org/packages/source/c/check-manifest/check-manifest-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/c/check_manifest/check_manifest-%{version}.tar.gz
Patch0: use-current-interpreter.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-build >= 0.1
Requires: python-setuptools
%if 0%{?python_version_nodots} < 311
Requires: python-tomli
%endif
Requires(post): update-alternatives
Requires(postun): update-alternatives
Recommends: git-core > 2.11
Recommends: python-pip
Recommends: python-wheel
@@ -53,6 +51,9 @@ Suggests: breezy
Suggests: mercurial
Suggests: subversion
BuildArch: noarch
%if 0%{?python_version_nodots} < 311
Requires: python-tomli
%endif
%if %{with test}
BuildRequires: %{python_module check-manifest = %{version}}
BuildRequires: %{python_module pytest}
@@ -68,7 +69,7 @@ check-manifest is a tool for python developers to check for broken packages
and missing files in MANIFEST.
%prep
%setup -q -n check-manifest-%{version}
%setup -q -n check_manifest-%{version}
%if 0%{?suse_version} == 1500
%patch -P 0 -p1
%endif
@@ -96,11 +97,8 @@ git config --global --add protocol.file.allow always
%endif
%if !%{with test}
%post
%python_install_alternative check-manifest
%postun
%python_uninstall_alternative check-manifest
%pre
%python_libalternatives_reset_alternative check-manifest
%files %{python_files}
%doc CHANGES.rst README.rst