fix spurious executable perms in debuginfo

tags/lua-ldap-1.1.0-19
Dan Callaghan 10 years ago
parent 680634475f
commit 6008ba6be3
  1. 2
      destdir.patch
  2. 2
      fix-attempt-to-concatenate-a-nil-value.patch
  3. 5
      lua-ldap.spec

@ -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:

@ -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) {

@ -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