[packages/wordpress-plugin-simple-ldap-login] fix path to adLDAP system library
glen
glen at pld-linux.org
Thu Feb 7 14:33:35 CET 2013
commit c3dff9212274c348a55f16f8723a0b720f334b12
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Feb 7 15:33:16 2013 +0200
fix path to adLDAP system library
path-adldap.patch | 11 +++++++++++
wordpress-plugin-simple-ldap-login.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/wordpress-plugin-simple-ldap-login.spec b/wordpress-plugin-simple-ldap-login.spec
index 080a979..1b636d0 100644
--- a/wordpress-plugin-simple-ldap-login.spec
+++ b/wordpress-plugin-simple-ldap-login.spec
@@ -7,6 +7,7 @@ License: GPL
Group: Applications/WWW
Source0: http://downloads.wordpress.org/plugin/simple-ldap-login.%{version}.zip
# Source0-md5: c552fbfcd655936a0c6feccfa02643a6
+Patch0: path-adldap.patch
URL: http://wordpress.org/extend/plugins/simple-ldap-login/
BuildRequires: rpmbuild(macros) >= 1.553
BuildRequires: unzip
@@ -28,7 +29,8 @@ Simple LDAP Login provides all of the features, none of the hassles.
%prep
%setup -qn %{plugin}
-%undos -f php,txt,phtml
+%undos -f php
+%patch0 -p1
%install
rm -rf $RPM_BUILD_ROOT
diff --git a/path-adldap.patch b/path-adldap.patch
new file mode 100644
index 0000000..af2e01c
--- /dev/null
+++ b/path-adldap.patch
@@ -0,0 +1,11 @@
+--- simple-ldap-login/Simple-LDAP-Login.php~ 2013-02-07 15:06:30.000000000 +0200
++++ simple-ldap-login/Simple-LDAP-Login.php 2013-02-07 15:32:15.907948183 +0200
+@@ -7,7 +7,7 @@
+ Author: Clifton H. Griffin II
+ Author URI: http://clifgriffin.com
+ */
+-require_once( WP_PLUGIN_DIR."/simple-ldap-login/adLDAP.php");
++require_once( "adLDAP.php");
+ require_once( ABSPATH . WPINC . '/registration.php');
+
+ //Admin
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/wordpress-plugin-simple-ldap-login.git/commitdiff/c3dff9212274c348a55f16f8723a0b720f334b12
More information about the pld-cvs-commit
mailing list