14
0

Accepting request 518028 from home:tbechtold:branches:devel:languages:python

- update to 1.1.14
- convert to singlespec

OBS-URL: https://build.opensuse.org/request/show/518028
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pykerberos?expand=0&rev=6
This commit is contained in:
Thomas Bechtold
2017-08-22 04:37:54 +00:00
committed by Git OBS Bridge
parent 7401a8f15e
commit cb082ac111
4 changed files with 21 additions and 13 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3d32021c66b52e8054e8819791b2cf4fa11cb0f40a7cdcea5d8d35dc816f42ee
size 20144

3
pykerberos-1.1.14.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:60f84e1b606d58cc457b186914c195072ebebf5d5a05e75c0136541808e06523
size 20454

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Aug 22 04:35:01 UTC 2017 - tbechtold@suse.com
- update to 1.1.14
- convert to singlespec
-------------------------------------------------------------------
Thu Sep 1 08:34:27 UTC 2016 - tbechtold@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pykerberos
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,24 +16,25 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pykerberos
Version: 1.1.13
Version: 1.1.14
Release: 0
Summary: High-level interface to Kerberos
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/02strich/pykerberos/
Source: https://pypi.io/packages/source/p/pykerberos/pykerberos-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(krb5)
# https://github.com/02strich/pykerberos/issues/17
Conflicts: python-kerberos
Requires: krb5
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%endif
%python_subpackages
%description
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
@@ -45,12 +46,13 @@ Kerberos authentication based on <http://www.ietf.org/rfc/rfc4559.txt>.
%setup -q -n pykerberos-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
export CFLAGS="%{optflags}"
%python_build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%python_install
%files
%files %{python_files}
%defattr(-,root,root,-)
%doc README.txt LICENSE
%{python_sitearch}/*