Compare commits
No commits in common. "c9-beta" and "c10s" have entirely different histories.
9
.gitignore
vendored
9
.gitignore
vendored
@ -1 +1,8 @@
|
|||||||
SOURCES/requests-gssapi-1.2.3.tar.gz
|
/requests-gssapi-1.0.0.tar.gz
|
||||||
|
/requests-gssapi-1.0.1.tar.gz
|
||||||
|
/requests-gssapi-1.1.0.tar.gz
|
||||||
|
/requests-gssapi-1.2.0.tar.gz
|
||||||
|
/requests-gssapi-1.2.1.tar.gz
|
||||||
|
/requests-gssapi-1.2.2.tar.gz
|
||||||
|
/requests-gssapi-1.2.3.tar.gz
|
||||||
|
/requests-gssapi-1.4.0.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
1d8120ef56f3401da5df2d9e23b96d9adc3e1456 SOURCES/requests-gssapi-1.2.3.tar.gz
|
|
||||||
42
0001-downsteam-Fix-build-config-for-setuptools-69.patch
Normal file
42
0001-downsteam-Fix-build-config-for-setuptools-69.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From 7e82d2fee28d4179ea898b88e0479e4eff0c3d77 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Julien Rische <jrische@redhat.com>
|
||||||
|
Date: Thu, 13 Nov 2025 14:34:22 +0100
|
||||||
|
Subject: [PATCH] [downsteam] Fix build config for setuptools 69
|
||||||
|
|
||||||
|
setuptools v69 (current version on c9s) does not support the
|
||||||
|
"project.license" attribute. Classifiers must be used instead.
|
||||||
|
---
|
||||||
|
pyproject.toml | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pyproject.toml b/pyproject.toml
|
||||||
|
index d72e47f..8b17974 100644
|
||||||
|
--- a/pyproject.toml
|
||||||
|
+++ b/pyproject.toml
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
[build-system]
|
||||||
|
requires = [
|
||||||
|
- "setuptools >= 77.0.0", # Support for SPDX license expressions
|
||||||
|
+ "setuptools >= 69.0.0",
|
||||||
|
]
|
||||||
|
build-backend = "setuptools.build_meta"
|
||||||
|
|
||||||
|
@@ -9,7 +9,6 @@ name = "requests-gssapi"
|
||||||
|
description = "A GSSAPI authentication handler for python-requests"
|
||||||
|
readme = "README.rst"
|
||||||
|
requires-python = ">=3.8"
|
||||||
|
-license = "ISC"
|
||||||
|
authors = [
|
||||||
|
{ name = "Robbie Harwood", email = "rharwood@redhat.com" },
|
||||||
|
{ name = "Ian Cordasco" },
|
||||||
|
@@ -18,6 +17,7 @@ authors = [
|
||||||
|
]
|
||||||
|
keywords = ["gssapi", "requests", "auth"]
|
||||||
|
classifiers = [
|
||||||
|
+ "License :: OSI Approved :: ISC License (ISCL)",
|
||||||
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.8",
|
||||||
|
"Programming Language :: Python :: 3.9",
|
||||||
|
--
|
||||||
|
2.51.1
|
||||||
|
|
||||||
@ -2,33 +2,35 @@
|
|||||||
%global s_name requests_gssapi
|
%global s_name requests_gssapi
|
||||||
|
|
||||||
Name: python-%{sname}
|
Name: python-%{sname}
|
||||||
Version: 1.2.3
|
Version: 1.4.0
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A GSSAPI/SPNEGO authentication handler for python-requests
|
Summary: A GSSAPI/SPNEGO authentication handler for python-requests
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/pythongssapi/%{sname}
|
URL: https://github.com/pythongssapi/%{sname}
|
||||||
Source0: https://github.com/pythongssapi/%{sname}/releases/download/v%{version}/%{sname}-%{version}.tar.gz
|
Source0: https://github.com/pythongssapi/%{sname}/archive/v%{version}/%{sname}-%{version}.tar.gz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
# Patches
|
# Patches
|
||||||
|
Patch0001: 0001-downsteam-Fix-build-config-for-setuptools-69.patch
|
||||||
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: python3-devel
|
BuildRequires: python3dist(pytest)
|
||||||
BuildRequires: python3-gssapi
|
|
||||||
BuildRequires: python3-requests
|
|
||||||
BuildRequires: python3-setuptools
|
|
||||||
|
|
||||||
%global _description\
|
%generate_buildrequires
|
||||||
|
%pyproject_buildrequires
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
Requests is an HTTP library, written in Python, for human beings. This\
|
Requests is an HTTP library, written in Python, for human beings. This\
|
||||||
library adds optional GSSAPI authentication support and supports\
|
library adds optional GSSAPI authentication support and supports\
|
||||||
mutual authentication. It includes a fully backward-compatible shim\
|
mutual authentication. It includes a fully backward-compatible shim\
|
||||||
for requests-kerberos.
|
for requests-kerberos.
|
||||||
|
}
|
||||||
|
|
||||||
%description %_description
|
%description %{_description}
|
||||||
|
|
||||||
%package -n python3-%{sname}
|
%package -n python3-%{sname}
|
||||||
Summary: %summary
|
Summary: %{summary}
|
||||||
Requires: python3-gssapi
|
Requires: python3-gssapi
|
||||||
Requires: python3-requests
|
Requires: python3-requests
|
||||||
%{?python_provide:%python_provide python3-%{sname}}
|
%{?python_provide:%python_provide python3-%{sname}}
|
||||||
@ -38,28 +40,61 @@ Requires: python3-requests
|
|||||||
%autosetup -S git_am -n %{sname}-%{version}
|
%autosetup -S git_am -n %{sname}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
%py3_build
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py3_install
|
%pyproject_install
|
||||||
|
%pyproject_save_files %{s_name}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{__python3} -m unittest
|
%pyproject_check_import
|
||||||
|
%pytest
|
||||||
|
|
||||||
%files -n python3-%{sname}
|
%files -n python%{python3_pkgversion}-%{sname} -f %{pyproject_files}
|
||||||
%doc README.rst AUTHORS HISTORY.rst
|
%doc README.rst AUTHORS HISTORY.rst
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{python3_sitelib}/%{s_name}*
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.3-3
|
* Thu Nov 13 2025 Julien Rische <jrische@redhat.com> - 1.4.0-1
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- New upstream release (1.4.0)
|
||||||
Related: rhbz#1991688
|
Resolves: RHEL-103408
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.3-2
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-13
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.3-12
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-11
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-10
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-9
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.2.3-8
|
||||||
|
- Rebuilt for Python 3.12
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.3-5
|
||||||
|
- Rebuilt for Python 3.11
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.3-2
|
||||||
|
- Rebuilt for Python 3.10
|
||||||
|
|
||||||
* Mon Feb 08 2021 Robbie Harwood <rharwood@redhat.com> - 1.2.3-1
|
* Mon Feb 08 2021 Robbie Harwood <rharwood@redhat.com> - 1.2.3-1
|
||||||
- New upstream release (1.2.3)
|
- New upstream release (1.2.3)
|
||||||
Loading…
Reference in New Issue
Block a user