Compare commits

...

No commits in common. 'i10cs' and 'c9' have entirely different histories.
i10cs ... c9

2
.gitignore vendored

@ -1 +1 @@
SOURCES/python-gssapi-1.7.3.tar.gz
SOURCES/python-gssapi-1.6.9.tar.gz

@ -1 +1 @@
39602c1668ef2a91da8b88f41304c2ba807e4b68 SOURCES/python-gssapi-1.7.3.tar.gz
468d70c57e31ad7cd9fe0e4a3eea26d6c17fdaaa SOURCES/python-gssapi-1.6.9.tar.gz

@ -1,14 +0,0 @@
Backport of https://github.com/pythongssapi/python-gssapi/pull/321
diff --git a/gssapi/raw/_enum_extensions/ext_dce.pyx b/gssapi/raw/_enum_extensions/ext_dce.pyx
index fd2989ae..190c8285 100644
--- a/gssapi/raw/_enum_extensions/ext_dce.pyx
+++ b/gssapi/raw/_enum_extensions/ext_dce.pyx
@@ -1,6 +1,6 @@
from gssapi.raw.cython_types cimport OM_uint32
-import gssapi.raw._enum_extensions as ext_registry
+from gssapi.raw import _enum_extensions as ext_registry
cdef extern from "python_gssapi_ext.h":

@ -1,23 +1,25 @@
# NOTE: tests are disabled since should_be has not yet been packaged.
Name: python-gssapi
Version: 1.7.3
Release: 10%{?dist}
Version: 1.6.9
Release: 5%{?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
BuildRequires: krb5-devel >= 1.19
# Patches
BuildRequires: krb5-devel >= 1.10
BuildRequires: krb5-libs >= 1.10
BuildRequires: gcc
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-Cython
# For autosetup
BuildRequires: git-core
BuildRequires: git
%global _description\
A set of Python bindings to the GSSAPI C library providing both\
@ -29,86 +31,41 @@ 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.19
Requires: krb5-libs >= 1.10
Requires: python3-six
Requires: python3-decorator
%description -n python3-gssapi %_description
%{?python_provide:%python_provide python3-gssapi}
%prep
%autosetup -S git -n %{name}-%{version}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files gssapi
%py3_install
%check
# Check import everything except the tests, as we don't have the tests deps
%pyproject_check_import -e 'gssapi.tests*'
# 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 {} \;
%files -n python3-gssapi -f %{pyproject_files}
%files -n python3-gssapi
%doc README.txt
%license LICENSE.txt
%{python3_sitearch}/*
%changelog
* 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)
* 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
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.9-4
- Rebuilt for Python 3.10
* 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
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

Loading…
Cancel
Save