@@ -3,65 +3,65 @@ Distribution: Azure Linux
33# NOTE: tests are disabled since should_be has not yet been packaged.
44
55Name: python-gssapi
6- Version: 1.6.1
7- Release: 6 %{?dist }
6+ Version: 1.10.0
7+ Release: 1 %{?dist }
88Summary: Python Bindings for GSSAPI (RFC 2743/2744 and extensions)
99
1010License: ISC
1111URL: https://github.com/pythongssapi/python-gssapi
1212Source0: 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
1816BuildRequires: gcc
1917BuildRequires: python3-devel
2018BuildRequires: python3-setuptools
2119BuildRequires: 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\
2727A set of Python bindings to the GSSAPI C library providing both\
2828a high-level pythonic interfaces and a low-level interfaces\
2929which more closely matches RFC 2743. Includes support for\
3030RFC 2743, as well as multiple extensions.
3131
3232%description %_description
33-
3433%package -n python3-gssapi
3534Summary: 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
0 commit comments