[python-kerberos] Fix version in setup.py so egg information is correct (#975202)

rcritten rcritten at fedoraproject.org
Mon Jun 17 20:01:46 UTC 2013


commit e21f8329979c8ff0deb31864805a9d67aa7166c1
Author: Rob Crittenden <rcritten at redhat.com>
Date:   Mon Jun 17 15:56:00 2013 -0400

    Fix version in setup.py so egg information is correct (#975202)

 PyKerberos-version.patch |   12 ++++++++++++
 python-kerberos.spec     |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/PyKerberos-version.patch b/PyKerberos-version.patch
new file mode 100644
index 0000000..2bbd8cb
--- /dev/null
+++ b/PyKerberos-version.patch
@@ -0,0 +1,12 @@
+diff -u --recursive python-kerberos-1.1/setup.py python-kerberos-1.1-version/setup.py
+--- python-kerberos-1.1/setup.py	2008-04-16 16:15:24.000000000 -0400
++++ python-kerberos-1.1-version/setup.py	2013-06-17 15:40:26.446493040 -0400
+@@ -22,7 +22,7 @@
+ 
+ setup (
+     name = "kerberos",
+-    version = "1.0",
++    version = "1.1",
+     description = "Kerberos high-level interface",
+     ext_modules = [
+         Extension(
diff --git a/python-kerberos.spec b/python-kerberos.spec
index 1bc00a1..de28262 100644
--- a/python-kerberos.spec
+++ b/python-kerberos.spec
@@ -2,7 +2,7 @@
 %{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 Name:           python-kerberos
 Version:        1.1
-Release:        10.1%{?dist}
+Release:        11%{?dist}
 Summary:        A high-level wrapper for Kerberos (GSSAPI) operations
 
 Group:          System Environment/Libraries
@@ -19,6 +19,7 @@ BuildRequires:  krb5-devel
 BuildRequires:  python-setuptools
 
 Patch0: PyKerberos-delegation.patch
+Patch1: PyKerberos-version.patch
 
 %description
 This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
@@ -34,6 +35,7 @@ Much of the C-code here is adapted from Apache's mod_auth_kerb-5.0rc7.
 %setup -q
 
 %patch0 -p1 -b .delegation
+%patch1 -p1 -b .version
 
 %build
 %{__python} setup.py build
@@ -53,6 +55,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Jun 17 2013 Rob Crittenden <rcritten at redhat.com> - 1.1-11
+- Fix version in setup.py so egg information is correct (#975202)
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-10.1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list