rpms/python-ldap/devel python-ldap-2.3.5-fix-build-error.patch, NONE, 1.1 python-ldap.spec, 1.27, 1.28
Matthew Barnes
mbarnes at fedoraproject.org
Fri Feb 27 15:08:58 UTC 2009
Author: mbarnes
Update of /cvs/pkgs/rpms/python-ldap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28604
Modified Files:
python-ldap.spec
Added Files:
python-ldap-2.3.5-fix-build-error.patch
Log Message:
* Fri Feb 27 2009 Matthew Barnes <mbarnes at redhat.com> - 0:2.3.5-5
- Fix a build error.
python-ldap-2.3.5-fix-build-error.patch:
--- NEW FILE python-ldap-2.3.5-fix-build-error.patch ---
diff -up python-ldap-2.3.5/Modules/errors.c.fix-build-error python-ldap-2.3.5/Modules/errors.c
--- python-ldap-2.3.5/Modules/errors.c.fix-build-error 2009-02-27 10:06:24.000000000 -0500
+++ python-ldap-2.3.5/Modules/errors.c 2009-02-27 10:06:40.000000000 -0500
@@ -18,7 +18,7 @@ LDAPexception_class;
#ifdef LDAP_ASSERTION_FAILED
#define LDAP_ERROR_MAX LDAP_ASSERTION_FAILED
-#elif
+#else
#define LDAP_ERROR_MAX LDAP_OTHER
#endif
Index: python-ldap.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-ldap/devel/python-ldap.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- python-ldap.spec 26 Feb 2009 22:02:11 -0000 1.27
+++ python-ldap.spec 27 Feb 2009 15:08:28 -0000 1.28
@@ -6,7 +6,7 @@
Name: python-ldap
Version: 2.3.5
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 0
License: Python
Group: System Environment/Libraries
@@ -19,6 +19,8 @@
Patch0: python-ldap-2.2.0-dirs.patch
+Patch1: python-ldap-2.3.5-fix-build-error.patch
+
### Dependencies ###
Requires: openldap >= %{openldap_version}
@@ -40,6 +42,7 @@
%prep
%setup -q -n python-ldap-%{version}
%patch0 -p1 -b .dirs
+%patch1 -p1 -b .fix-build-error
# clean up cvs hidden files
rm -rf Demo/Lib/ldap/.cvsignore Demo/.cvsignore Demo/Lib/ldif/.cvsignore Demo/Lib/ldap/async/.cvsignore \
@@ -69,6 +72,9 @@
%{python_sitearch}/python_ldap-%{version}-*.egg-info/
%changelog
+* Fri Feb 27 2009 Matthew Barnes <mbarnes at redhat.com> - 0:2.3.5-5
+- Fix a build error.
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0:2.3.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
More information about the fedora-extras-commits
mailing list