Browse Source

fix spurious executable perms in debuginfo

tags/lua-ldap-1.1.0-19
Dan Callaghan 6 years ago
parent
commit
6008ba6be3
3 changed files with 6 additions and 3 deletions
  1. +1
    -1
      destdir.patch
  2. +1
    -1
      fix-attempt-to-concatenate-a-nil-value.patch
  3. +4
    -1
      lua-ldap.spec

+ 1
- 1
destdir.patch View File

@ -9,7 +9,7 @@ diff -ur lualdap-1.1.0.orig/Makefile lualdap-1.1.0/Makefile
- cp src/$(LIBNAME) $(LUA_LIBDIR)
- cd $(LUA_LIBDIR); ln -f -s $(LIBNAME) $T.so
+ mkdir -p $(DESTDIR)$(LUA_LIBDIR)
+ cp -p src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)
+ install -p -m0755 src/$(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)
+ ln -s $(LIBNAME) $(DESTDIR)$(LUA_LIBDIR)/$T.so
clean:


+ 1
- 1
fix-attempt-to-concatenate-a-nil-value.patch View File

@ -9,7 +9,7 @@ Subject: [PATCH] Fix potential Lua error (attempt to concatenate a nil value)
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/lualdap.c b/src/lualdap.c
index 99c756e..d170038 100755
index 99c756e..d170038 100644
--- a/src/lualdap.c
+++ b/src/lualdap.c
@@ -436,10 +436,14 @@ static int result_message (lua_State *L) {


+ 4
- 1
lua-ldap.spec View File

@ -13,7 +13,7 @@
Name: lua-ldap
Version: 1.1.0
Release: 2%{?dist}
Release: 3%{?dist}
Summary: LDAP client library for Lua, using OpenLDAP
License: MIT
URL: http://www.keplerproject.org/lualdap/
@ -115,6 +115,9 @@ popd
%endif
%changelog
* Sun Jul 13 2014 Dan Callaghan <dcallagh@redhat.com> - 1.1.0-3
- fix perms on lualdap.c and lualdap.so
* Mon Jun 30 2014 Dan Callaghan <dcallagh@redhat.com> - 1.1.0-2
- cp -p, run tests in %%check


Loading…
Cancel
Save