dcallagh pushed to python-requests-kerberos (f21). "relaxed version in kerberos module requirement, to work with python-kerberos 1.1 (#1215565)"
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Jun 11 06:30:39 UTC 2015
From c7baacd451fc4213d482458cb31670bbe7a8a73b Mon Sep 17 00:00:00 2001
From: Dan Callaghan <dcallagh at redhat.com>
Date: Thu, 11 Jun 2015 16:24:39 +1000
Subject: relaxed version in kerberos module requirement, to work with
python-kerberos 1.1 (#1215565)
diff --git a/0001-relax-version-in-kerberos-requirement.patch b/0001-relax-version-in-kerberos-requirement.patch
new file mode 100644
index 0000000..3f90b58
--- /dev/null
+++ b/0001-relax-version-in-kerberos-requirement.patch
@@ -0,0 +1,26 @@
+From baf0df9fbd23bf033a3b9387548ee0e1bfc1cb8a Mon Sep 17 00:00:00 2001
+From: Dan Callaghan <djc at djc.id.au>
+Date: Thu, 11 Jun 2015 14:08:44 +1000
+Subject: [PATCH] relax version in kerberos requirement
+
+Any version of the kerberos module should work fine, it has had no API changes in living memory as far as I can see.
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 91472e1..42eb4ed 100755
+--- a/setup.py
++++ b/setup.py
+@@ -11,7 +11,7 @@
+ if sys.platform == 'win32':
+ requires.append('kerberos-sspi')
+ else:
+- requires.append('kerberos==1.1.1')
++ requires.append('kerberos')
+
+ path = os.path.dirname(__file__)
+ desc_fd = os.path.join(path, 'README.rst')
+--
+1.9.3
+
diff --git a/python-requests-kerberos.spec b/python-requests-kerberos.spec
index e9fe64b..4aff267 100644
--- a/python-requests-kerberos.spec
+++ b/python-requests-kerberos.spec
@@ -10,11 +10,13 @@
Name: python-%{upstream_name}
Version: 0.7.0
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: A Kerberos authentication handler for python-requests
License: MIT
URL: https://github.com/requests/requests-kerberos
Source0: http://pypi.python.org/packages/source/r/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
+# https://github.com/requests/requests-kerberos/pull/53
+Patch1: 0001-relax-version-in-kerberos-requirement.patch
BuildArch: noarch
BuildRequires: python2-devel
BuildRequires: python-setuptools
@@ -46,6 +48,7 @@ authentication.
%prep
%setup -q -n %{upstream_name}-%{version}
rm -r %{module_name}.egg-info
+%patch1 -p1
%if %{with python3}
rm -rf %{py3dir}
@@ -83,6 +86,10 @@ popd
%endif
%changelog
+* Thu Jun 11 2015 Dan Callaghan <dcallagh at redhat.com> - 0.7.0-2
+- relaxed version in kerberos module requirement, to work with
+ python-kerberos 1.1 (#1215565)
+
* Tue May 05 2015 Fedora Release Monitoring <release-monitoring at fedoraproject.org> - 0.7.0-1
- Update to 0.7.0 (#1164464)
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/python-requests-kerberos.git/commit/?h=f21&id=c7baacd451fc4213d482458cb31670bbe7a8a73b
More information about the scm-commits
mailing list