diff --git a/kerberos-1.1.1.tar.gz b/kerberos-1.1.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..b91e30f87bf816946669b9f92e950466f8706adc Binary files /dev/null and b/kerberos-1.1.1.tar.gz differ diff --git a/kerberos-1.3.0.tar.gz b/kerberos-1.3.0.tar.gz deleted file mode 100644 index 295b949a1ef41671d4155593e6936fb6993e5115..0000000000000000000000000000000000000000 Binary files a/kerberos-1.3.0.tar.gz and /dev/null differ diff --git a/python-kerberos.spec b/python-kerberos.spec index 279227ca817e1453a876674ac890bf1edbeb8451..a16702980d2f1b00225e60fbebf5847981bc972e 100644 --- a/python-kerberos.spec +++ b/python-kerberos.spec @@ -1,12 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-kerberos -Version: 1.3.0 +Version: 1.1.1 Release: 1 Summary: Kerberos high-level interface -License: Apache License, Version 2.0 -URL: https://github.com/apple/ccs-pykerberos -Source0: https://files.pythonhosted.org/packages/34/18/9c86fdfdb27e0f7437b7d5a9e22975dcc382637b2a68baac07843be512fc/kerberos-1.3.0.tar.gz - +License: Apache-2.0 +URL: http://trac.calendarserver.org/ +Source0: https://files.pythonhosted.org/packages/6d/cc/9ca8bcd1483cb0d7436c6df01b48003b7fa0743cf722194f6c54d7a6507f/kerberos-1.1.1.tar.gz %description This Python package is a high-level wrapper for Kerberos (GSSAPI) operations. The goal is to avoid having to build a module that wraps @@ -15,11 +14,16 @@ functions that do what is needed for client/server Kerberos authentication based on . Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. -%package -n python3-kerberos +%package -n python2-kerberos Summary: Kerberos high-level interface -Provides: python-kerberos -BuildRequires: python3-devel krb5-devel gcc python3-setuptools -%description -n python3-kerberos +Provides: python2-kerberos +BuildRequires: python2-devel +BuildRequires: python2-setuptools +BuildRequires: python2-pbr +BuildRequires: gcc +BuildRequires: krb5-devel + +%description -n python2-kerberos This Python package is a high-level wrapper for Kerberos (GSSAPI) operations. The goal is to avoid having to build a module that wraps the entire Kerberos.framework, and instead offer a limited set of @@ -29,7 +33,7 @@ Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. %package help Summary: Development documents and examples for kerberos -Provides: python3-kerberos-doc +Provides: python2-kerberos-doc %description help This Python package is a high-level wrapper for Kerberos (GSSAPI) operations. The goal is to avoid having to build a module that wraps @@ -39,13 +43,13 @@ authentication based on . Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7. %prep -%autosetup -n kerberos-1.3.0 +%autosetup -n kerberos-1.1.1 %build -%py3_build +%py2_build %install -%py3_install +%py2_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi @@ -72,12 +76,12 @@ popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . -%files -n python3-kerberos -f filelist.lst -%dir %{python3_sitearch}/* +%files -n python2-kerberos -f filelist.lst +%dir %{_libdir}/* %files help -f doclist.lst %{_docdir}/* %changelog -* Tue Aug 04 2020 wangxiao -- package init +* Tue Jun 01 2021 OpenStack_SIG +- Package Spec generated