| |
@@ -3,7 +3,7 @@
|
| |
|
| |
Name: python-%{srcname}
|
| |
Version: 1.3.0
|
| |
- Release: 13%{?dist}
|
| |
+ Release: 14%{?dist}
|
| |
Summary: %{sum}
|
| |
|
| |
License: ASL 2.0
|
| |
@@ -12,8 +12,14 @@
|
| |
Source0: https://pypi.python.org/packages/source/k/%{srcname}/%{srcname}-%{version}.tar.gz
|
| |
Source1: LICENSE
|
| |
|
| |
+ # SystemError thrown with Python 3.10
|
| |
+ # https://github.com/apple/ccs-pykerberos/issues/88
|
| |
+ # https://bugzilla.redhat.com/2008899
|
| |
+ Patch1: PY_SSIZE_T_CLEAN.patch
|
| |
+
|
| |
BuildRequires: python3-devel
|
| |
BuildRequires: python3-setuptools
|
| |
+ BuildRequires: python3-requests
|
| |
BuildRequires: krb5-devel
|
| |
BuildRequires: gcc
|
| |
|
| |
@@ -35,7 +41,7 @@
|
| |
%{desc}
|
| |
|
| |
%prep
|
| |
- %setup -q -n %{srcname}-%{version}
|
| |
+ %autosetup -p1 -n %{srcname}-%{version}
|
| |
|
| |
%build
|
| |
%{py3_build}
|
| |
@@ -44,6 +50,11 @@
|
| |
install -m 644 $RPM_SOURCE_DIR/LICENSE LICENSE
|
| |
%{py3_install}
|
| |
|
| |
+ %check
|
| |
+ # Regression test for https://bugzilla.redhat.com/2008899
|
| |
+ export PYTHONPATH=%{buildroot}%{python3_sitearch}
|
| |
+ %{python3} -c 'import kerberos; kerberos.channelBindings(application_data=b"")'
|
| |
+
|
| |
%files -n python3-%{srcname}
|
| |
%license LICENSE
|
| |
%doc README.rst
|
| |
@@ -51,6 +62,9 @@
|
| |
|
| |
|
| |
%changelog
|
| |
+ * Wed Sep 29 2021 Miro Hrončok <mhroncok@redhat.com> - 1.3.0-14
|
| |
+ - Fix SystemError thrown with Python 3.10
|
| |
+
|
| |
* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-13
|
| |
- Second attempt - Rebuilt for
|
| |
https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
| |