diff --git a/.gitignore b/.gitignore index 11c81a7..5f18f34 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /python-gssapi-1.6.5.tar.gz /python-gssapi-1.6.9.tar.gz /python-gssapi-1.6.14.tar.gz +/python-gssapi-1.7.2.tar.gz diff --git a/python-gssapi.spec b/python-gssapi.spec index 91f6ca6..a41e523 100644 --- a/python-gssapi.spec +++ b/python-gssapi.spec @@ -1,22 +1,24 @@ # NOTE: tests are disabled since should_be has not yet been packaged. +# NOTE2: we need to disable package notes as they try to use a linker script +# that does not exists +%undefine _package_note_file Name: python-gssapi -Version: 1.6.14 -Release: 3%{?dist} +Version: 1.7.2 +Release: 1%{?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 -# 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 +BuildRequires: python3-pip +BuildRequires: python3-wheel # For autosetup BuildRequires: git @@ -31,8 +33,7 @@ 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: krb5-libs >= 1.19 Requires: python3-six Requires: python3-decorator @@ -44,22 +45,21 @@ Requires: python3-decorator %autosetup -S git -n %{name}-%{version} %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install -# 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 {} \; +%pyproject_save_files gssapi -%files -n python3-gssapi +%files -n python3-gssapi -f %{pyproject_files} %doc README.txt %license LICENSE.txt -%{python3_sitearch}/* %changelog +* Wed Feb 2 2022 Simo Sorce - 1.7.2-1 +- Update to latest release and modernize spec file + * Fri Jan 21 2022 Fedora Release Engineering - 1.6.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild diff --git a/sources b/sources index 3294a6f..beeec6e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-gssapi-1.6.14.tar.gz) = f35bcbfe8b1c5f2bd8772d5f5c1a57da06ccf69f9dbce8a71227c0cdae42a0e30de8ed0088a45ad778b9bbb0ad654fbf75e2dfb0b28b7d111930f0b72f728a1b +SHA512 (python-gssapi-1.7.2.tar.gz) = d4d1a08a1d3850f0a3cc858f1f9037a561c320a3f9b9e4951b0c47f2107bd319f9f0eff95852ff146033153a00bac127452d581b88650a815b4b76496c61dd22