diff --git a/.gitignore b/.gitignore index 274353c..6e73480 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,9 @@ /python-gssapi-1.3.0.tar.gz /python-gssapi-1.4.1.tar.gz /python-gssapi-1.5.0.tar.gz +/python-gssapi-1.5.1.tar.gz +/python-gssapi-1.6.1.tar.gz +/python-gssapi-1.6.2.tar.gz +/python-gssapi-1.6.4.tar.gz +/python-gssapi-1.6.5.tar.gz +/python-gssapi-1.6.9.tar.gz diff --git a/python-gssapi.spec b/python-gssapi.spec index 40e32de..0b089b6 100644 --- a/python-gssapi.spec +++ b/python-gssapi.spec @@ -1,10 +1,7 @@ # NOTE: tests are disabled since should_be has not yet been packaged. -# To re-enable, uncomment the 'check' section and lines marked 'for tests' -%global run_tests 0 -%global with_python3 1 Name: python-gssapi -Version: 1.5.0 +Version: 1.6.9 Release: 1%{?dist} Summary: Python Bindings for GSSAPI (RFC 2743/2744 and extensions) @@ -14,35 +11,15 @@ Source0: https://github.com/pythongssapi/%{name}/releases/download/v%{ver # Patches -BuildRequires: python2-devel BuildRequires: krb5-devel >= 1.10 BuildRequires: krb5-libs >= 1.10 -BuildRequires: python2-Cython >= 0.21 -BuildRequires: python2-setuptools -BuildRequires: python2-tox BuildRequires: gcc - -# For autosetup -BuildRequires: git - -%if 0%{?run_tests} -BuildRequires: python2-nose -BuildRequires: python2-nose-parameterized -BuildRequires: python-shouldbe -BuildRequires: krb5-server >= 1.10 -%endif - -%if 0%{?with_python3} BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-Cython -%if 0%{?run_tests} -BuildRequires: python3-nose -BuildRequires: python3-nose-parameterized -BuildRequires: python3-should-be -%endif -%endif +# For autosetup +BuildRequires: git %global _description\ A set of Python bindings to the GSSAPI C library providing both\ @@ -52,17 +29,6 @@ RFC 2743, as well as multiple extensions. %description %_description -%package -n python2-gssapi -Summary: %summary -Requires: krb5-libs >= 1.10 -Requires: python2-six -Requires: python2-enum34 -Requires: python2-decorator -%{?python_provide:%python_provide python2-gssapi} - -%description -n python2-gssapi %_description - -%if 0%{?with_python3} %package -n python3-gssapi Summary: Python 3 Bindings for GSSAPI (RFC 2743/2744 and extensions) @@ -70,78 +36,83 @@ Requires: krb5-libs >= 1.10 Requires: python3-six Requires: python3-decorator -%description -n python3-gssapi -A set of Python 3 bindings to the GSSAPI C library providing both -a high-level pythonic interfaces and a low-level interfaces -which more closely matches RFC 2743. Includes support for -RFC 2743, as well as multiple extensions. -%endif +%description -n python3-gssapi %_description + +%{?python_provide:%python_provide python3-gssapi} %prep %autosetup -S git -n %{name}-%{version} -%if 0%{?with_python3} -rm -rf %{py3dir} -cp -a . %{py3dir} -%endif - - %build -CFLAGS="%{optflags}" %{__python2} setup.py build - -%if 0%{?with_python3} -pushd %{py3dir} -CFLAGS="%{optflags}" %{__python3} setup.py build -popd -%endif - +%py3_build %install -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py install --skip-build --root %{buildroot} +%py3_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 {} \; -popd -%endif +%files -n python3-gssapi +%doc README.txt +%license LICENSE.txt +%{python3_sitearch}/* + +%changelog +* Tue Jul 07 2020 Robbie Harwood - 1.6.9-1 +- New upstream release (1.6.9) -%{__python2} setup.py install --skip-build --root %{buildroot} +* Tue May 26 2020 Miro Hrončok - 1.6.5-2 +- Rebuilt for Python 3.9 -# fix permissions on shared objects (mock seems to set them -# to 0775, whereas a normal build gives 0755) -find %{buildroot}%{python2_sitearch}/gssapi -name '*.so' \ - -exec chmod 0755 {} \; +* Wed Apr 08 2020 Robbie Harwood - 1.6.5-1 +- New upstream release (1.6.5) -%check -%if 0%{?run_tests} -%{__python2} setup.py nosetests +* Tue Apr 07 2020 Robbie Harwood - 1.6.4-1 +- New upstream release (1.6.4) +- Resolves: #1821889 -%if 0%{?with_python3} -pushd %{py3dir} -%{__python3} setup.py nosetests -popd -%endif -%endif +* Tue Feb 25 2020 Robbie Harwood - 1.6.2-1 +- New upstream release (1.6.2) +* Thu Jan 30 2020 Fedora Release Engineering - 1.6.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild -%files -n python2-gssapi -%doc README.txt -%license LICENSE.txt -%{python2_sitearch}/* +* Thu Oct 03 2019 Miro Hrončok - 1.6.1-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) -%if 0%{?with_python3} -%files -n python3-gssapi -%doc README.txt -%license LICENSE.txt -%{python3_sitearch}/* -%endif +* Mon Aug 19 2019 Miro Hrončok - 1.6.1-3 +- Rebuilt for Python 3.8 +* Wed Aug 14 2019 Robbie Harwood - 1.6.1-2 +- Drop python2 subpackage for fc32+ + +* Fri Aug 09 2019 Robbie Harwood - 1.6.1-1 +- New upstream version: 1.6.1 + +* Thu Jul 25 2019 Robbie Harwood - 1.5.1-4 +- Restore python2 subpackage for fc31 by request of offlineimap + +* Thu May 30 2019 Robbie Harwood - 1.5.1-3 +- Drop python2 subpackage + +* Sat Feb 02 2019 Fedora Release Engineering - 1.5.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Wed Jul 18 2018 Robbie Harwood - 1.5.1-1 +- Remove warning about collections ABCs on python3.7 +- Resolves: #1594834 + +* Sat Jul 14 2018 Fedora Release Engineering - 1.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 1.5.0-3 +- Rebuilt for Python 3.7 + +* Tue May 08 2018 Robbie Harwood - 1.5.0-2 +- Fix tox dependency -%changelog * Fri Apr 06 2018 Robbie Harwood - 1.5.0-1 - Prepare for release 1.5.0 diff --git a/sources b/sources index 035a5e7..92ceb6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-gssapi-1.5.0.tar.gz) = 02d1090c22a0bd3eaf0559124b1fc9dd90c0a118fdeec561e759700b807838e584a5e9d8ea156348c4496d3f6f914d7f218932cff14acfbaf49affdc16332667 +SHA512 (python-gssapi-1.6.9.tar.gz) = 15f3ec12fbe08d90b326bd15133d25aaffa621b1a840563aa829dd7dd60b9aeb2d5308176fc29746463b1dd16a2f267b210f775da17eeebe32bff8ff47df2e91