Skip to content

Commit d6a293c

Browse files
Upgrade: python-gssapi to version 1.10.0 (microsoft#12555)
Co-authored-by: Sandeep Karambelkar <[email protected]>
1 parent f9c5e56 commit d6a293c

File tree

3 files changed

+31
-31
lines changed

3 files changed

+31
-31
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"Signatures": {
3-
"python-gssapi-1.6.1.tar.gz": "e5a1877226d403f7e5dd60f8731a7f0d8ba1358e36f582942615b1da04b45c2e"
3+
"python-gssapi-1.10.0.tar.gz": "6a94620f65462cb61bdeadb6ab49196c69efeef352c5d954e4d9e48091f15dbc"
44
}
55
}

SPECS-EXTENDED/python-gssapi/python-gssapi.spec

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,65 +3,65 @@ Distribution: Azure Linux
33
# NOTE: tests are disabled since should_be has not yet been packaged.
44

55
Name: python-gssapi
6-
Version: 1.6.1
7-
Release: 6%{?dist}
6+
Version: 1.10.0
7+
Release: 1%{?dist}
88
Summary: Python Bindings for GSSAPI (RFC 2743/2744 and extensions)
99

1010
License: ISC
1111
URL: https://github.com/pythongssapi/python-gssapi
1212
Source0: https://github.com/pythongssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
1313

14-
# Patches
15-
16-
BuildRequires: krb5-devel >= 1.10
17-
BuildRequires: krb5-libs >= 1.10
14+
BuildRequires: krb5-devel >= 1.19
15+
BuildRequires: krb5-libs >= 1.19
1816
BuildRequires: gcc
1917
BuildRequires: python3-devel
2018
BuildRequires: python3-setuptools
2119
BuildRequires: python3-Cython
20+
BuildRequires: python3-pip
21+
BuildRequires: python3dist(wheel)
22+
BuildRequires: python3-decorator
2223

23-
# For autosetup
24-
BuildRequires: git
25-
24+
BuildRequires: git
25+
2626
%global _description\
2727
A set of Python bindings to the GSSAPI C library providing both\
2828
a high-level pythonic interfaces and a low-level interfaces\
2929
which more closely matches RFC 2743. Includes support for\
3030
RFC 2743, as well as multiple extensions.
3131

3232
%description %_description
33-
3433
%package -n python3-gssapi
3534
Summary: Python 3 Bindings for GSSAPI (RFC 2743/2744 and extensions)
36-
37-
Requires: krb5-libs >= 1.10
38-
Requires: python3-six
39-
Requires: python3-decorator
40-
35+
Requires: krb5-libs >= 1.19
36+
4137
%description -n python3-gssapi %_description
42-
43-
%{?python_provide:%python_provide python3-gssapi}
44-
4538
%prep
4639
%autosetup -S git -n %{name}-%{version}
40+
41+
%generate_buildrequires
42+
%pyproject_buildrequires
4743

4844
%build
49-
%py3_build
45+
%pyproject_wheel
5046

5147
%install
52-
%py3_install
53-
54-
# fix permissions on shared objects (mock seems to set them
55-
# to 0775, whereas a normal build gives 0755)
56-
find %{buildroot}%{python3_sitearch}/gssapi -name '*.so' \
57-
-exec chmod 0755 {} \;
58-
59-
%files -n python3-gssapi
48+
%pyproject_install
49+
50+
%pyproject_save_files gssapi
51+
52+
%check
53+
# Check import everything except the tests, as we don't have the tests deps
54+
%pyproject_check_import -e 'gssapi.tests*'
55+
56+
%files -n python3-gssapi -f %{pyproject_files}
6057
%doc README.txt
6158
%license LICENSE.txt
62-
%{python3_sitearch}/*
6359

6460
%changelog
61+
* Thu Sep 26 2025 Akarsh Chaudhary <[email protected]> - 1.10.0-1
62+
- Upgrade to version 1.10.0-1
63+
- License verified
64+
6565
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 1.6.1-6
6666
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
6767

cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23023,8 +23023,8 @@
2302323023
"type": "other",
2302423024
"other": {
2302523025
"name": "python-gssapi",
23026-
"version": "1.6.1",
23027-
"downloadUrl": "https://github.com/pythongssapi/python-gssapi/releases/download/v1.6.1/python-gssapi-1.6.1.tar.gz"
23026+
"version": "1.10.0",
23027+
"downloadUrl": "https://github.com/pythongssapi/python-gssapi/releases/download/v1.10.0/python-gssapi-1.10.0.tar.gz"
2302823028
}
2302923029
}
2303023030
},

0 commit comments

Comments
 (0)