rpms/python-kerberos/devel python-kerberos.spec,1.2,1.3
Robert Crittenden (rcritten)
fedora-extras-commits at redhat.com
Thu Jan 17 14:34:55 UTC 2008
Author: rcritten
Update of /cvs/extras/rpms/python-kerberos/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20236
Modified Files:
python-kerberos.spec
Log Message:
Fix build issues on ppc64 because I was using python_sitelib instead of
python_sitearch so the library wasn't being packaged.
Also added missing BuildRequires: python-setuptools
Index: python-kerberos.spec
===================================================================
RCS file: /cvs/extras/rpms/python-kerberos/devel/python-kerberos.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- python-kerberos.spec 16 Jan 2008 21:10:36 -0000 1.2
+++ python-kerberos.spec 17 Jan 2008 14:34:19 -0000 1.3
@@ -1,6 +1,6 @@
Name: python-kerberos
Version: 1.0
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: A high-level wrapper for Kerberos (GSSAPI) operations
Group: System Environment/Libraries
@@ -15,10 +15,12 @@
BuildRequires: python-devel
BuildRequires: krb5-devel
+BuildRequires: python-setuptools
Patch1: PyKerberos-includes.patch
Patch2: PyKerberos-delegation.patch
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
This Python package is a high-level wrapper for Kerberos (GSSAPI) operations.
@@ -49,10 +51,14 @@
%files
%defattr(-,root,root,-)
%doc README.txt LICENSE test.py
-%{python_sitelib}/kerberos.so
+%{python_sitearch}/kerberos.so
%changelog
+* Wed Jan 16 2008 Rob Crittenden <rcritten at redhat.com> - 1.0-4
+- Switch from python_sitelib macro to python_sitearch
+- Add python-setuptools to BuildRequires
+
* Wed Jan 16 2008 Rob Crittenden <rcritten at redhat.com> - 1.0-3
- Use the setup.py install target in order to generate debuginfo.
More information about the fedora-extras-commits
mailing list