|
|
|
@ -1,25 +1,23 @@
|
|
|
|
|
# NOTE: tests are disabled since should_be has not yet been packaged.
|
|
|
|
|
|
|
|
|
|
Name: python-gssapi
|
|
|
|
|
Version: 1.6.9
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Version: 1.7.3
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Summary: Python Bindings for GSSAPI (RFC 2743/2744 and extensions)
|
|
|
|
|
|
|
|
|
|
License: ISC
|
|
|
|
|
URL: https://github.com/pythongssapi/python-gssapi
|
|
|
|
|
Source0: https://github.com/pythongssapi/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
|
# https://github.com/pythongssapi/python-gssapi/pull/321
|
|
|
|
|
Patch0: cython3.patch
|
|
|
|
|
|
|
|
|
|
# Patches
|
|
|
|
|
|
|
|
|
|
BuildRequires: krb5-devel >= 1.10
|
|
|
|
|
BuildRequires: krb5-libs >= 1.10
|
|
|
|
|
BuildRequires: krb5-devel >= 1.19
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-Cython
|
|
|
|
|
|
|
|
|
|
# For autosetup
|
|
|
|
|
BuildRequires: git
|
|
|
|
|
BuildRequires: git-core
|
|
|
|
|
|
|
|
|
|
%global _description\
|
|
|
|
|
A set of Python bindings to the GSSAPI C library providing both\
|
|
|
|
@ -31,41 +29,86 @@ RFC 2743, as well as multiple extensions.
|
|
|
|
|
|
|
|
|
|
%package -n python3-gssapi
|
|
|
|
|
Summary: Python 3 Bindings for GSSAPI (RFC 2743/2744 and extensions)
|
|
|
|
|
|
|
|
|
|
Requires: krb5-libs >= 1.10
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Requires: python3-decorator
|
|
|
|
|
Requires: krb5-libs >= 1.19
|
|
|
|
|
|
|
|
|
|
%description -n python3-gssapi %_description
|
|
|
|
|
|
|
|
|
|
%{?python_provide:%python_provide python3-gssapi}
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -S git -n %{name}-%{version}
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%pyproject_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py3_build
|
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py3_install
|
|
|
|
|
%pyproject_install
|
|
|
|
|
|
|
|
|
|
%pyproject_save_files gssapi
|
|
|
|
|
|
|
|
|
|
# fix permissions on shared objects (mock seems to set them
|
|
|
|
|
# to 0775, whereas a normal build gives 0755)
|
|
|
|
|
find %{buildroot}%{python3_sitearch}/gssapi -name '*.so' \
|
|
|
|
|
-exec chmod 0755 {} \;
|
|
|
|
|
%check
|
|
|
|
|
# Check import everything except the tests, as we don't have the tests deps
|
|
|
|
|
%pyproject_check_import -e 'gssapi.tests*'
|
|
|
|
|
|
|
|
|
|
%files -n python3-gssapi
|
|
|
|
|
%files -n python3-gssapi -f %{pyproject_files}
|
|
|
|
|
%doc README.txt
|
|
|
|
|
%license LICENSE.txt
|
|
|
|
|
%{python3_sitearch}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.9-5
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.7.3-10
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.7.3-9
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.7.3-9
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.7.3-5
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.7.3-2
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Wed Feb 16 2022 Simo Sorce <simo@redhat.com> - 1.7.3-1
|
|
|
|
|
- Update to 1.7.3 release
|
|
|
|
|
|
|
|
|
|
* Thu Feb 03 2022 Miro Hrončok <mhroncok@redhat.com> - 1.7.2-2
|
|
|
|
|
- Enable package notes
|
|
|
|
|
- Reduce BuildRequires set by using git-core
|
|
|
|
|
- Remove redundant runtime requires of python3-six
|
|
|
|
|
- Run import check during the build
|
|
|
|
|
|
|
|
|
|
* Wed Feb 2 2022 Simo Sorce <simo@redhat.com> - 1.7.2-1
|
|
|
|
|
- Update to latest release and modernize spec file
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.14-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.14-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 30 2021 Robbie Harwood <rharwood@redhat.com> - 1.6.14-1
|
|
|
|
|
- New upstream release (1.6.14)
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.9-4
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.9-4
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|