Skip to content

Commit

Permalink
build: add python 3.13 support to spec file
Browse files Browse the repository at this point in the history
Relates to JIRA: DISCOVERY-865
  • Loading branch information
infinitewarp committed Jan 3, 2025
1 parent 29d3bed commit f9ccd3d
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions qpc.spec
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
%global __python3 /usr/bin/python3.12
%global python3_pkgversion 3.12
%global python_min_version 3.12
%global python_unsupported 3.14
Name: qpc
Summary: command-line client interface for quipucords

Expand All @@ -12,13 +12,17 @@ URL: https://github.com/quipucords/qpc
Source0: %{url}/archive/%{version}.tar.gz

BuildArch: noarch
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools

Requires: python%{python3_pkgversion}
Requires: python%{python3_pkgversion}-cryptography
Requires: python%{python3_pkgversion}-requests
Requires: python%{python3_pkgversion}-setuptools
BuildRequires: python3 >= %{python_min_version}
BuildRequires: python3 < %{python_unsupported}
BuildRequires: python%{python3_version}-devel
BuildRequires: python%{python3_version}-setuptools

Requires: python3 >= %{python_min_version}
Requires: python3 < %{python_unsupported}
Requires: python%{python3_version}-cryptography
Requires: python%{python3_version}-requests
Requires: python%{python3_version}-setuptools

%description
qpc is the command-line client interface for the quipucords server.
Expand Down Expand Up @@ -49,6 +53,9 @@ sed \
%{python3_sitelib}/qpc-*.egg-info/

%changelog
* Fri Jan 3 2025 Brad Smith <[email protected]> - 0:1.12.0-1
- Support python versions 3.12 and 3.13

* Mon Jul 15 2024 Brad Smith <[email protected]> - 0:1.8.2-1
- Better output and exit code from incomplete commands.
- Minor performance updates and cleanup.
Expand Down

0 comments on commit f9ccd3d

Please sign in to comment.