[packages/linenoise] - rel .2; full ldconfig path

arekm arekm at pld-linux.org
Fri Sep 27 10:57:10 CEST 2013


commit 4503e241a2c330209260ca7eb25a0a206dd705e6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Sep 27 10:57:08 2013 +0200

    - rel .2; full ldconfig path

 linenoise-build-shared-lib.patch | 2 +-
 linenoise.spec                   | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/linenoise.spec b/linenoise.spec
index a4041df..02be32d 100644
--- a/linenoise.spec
+++ b/linenoise.spec
@@ -4,7 +4,7 @@
 Summary:	Minimal replacement for readline
 Name:		linenoise
 Version:	0
-Release:	0.git%{git_rev}.1
+Release:	0.git%{git_rev}.2
 # The licenses are a bit of a mess here...
 # utf8.{c,h} contain incomplete license headers. They refer to a "LICENSE" file
 # which is actually from jimtcl. A copy is committed in dist-git as
@@ -40,9 +40,6 @@ This package contains files needed for developing software that uses
 
 %prep
 %setup -q -n tadmarshall-%{name}-%{git_rev}
-
-sed -i -e 's#ldconfig.*##g' Makefile
-
 %patch0 -p1
 %patch1 -p1
 
diff --git a/linenoise-build-shared-lib.patch b/linenoise-build-shared-lib.patch
index d5d9946..ab4785e 100644
--- a/linenoise-build-shared-lib.patch
+++ b/linenoise-build-shared-lib.patch
@@ -47,7 +47,7 @@ index 3086e92..a1a906f 100644
 +	install -m 0644 linenoise.h $(DESTDIR)$(INCLUDEDIR)
 +	install -m 0755 -d $(DESTDIR)$(LIBDIR)
 +	install -m 0755 $(LIB) $(DESTDIR)$(LIBDIR)
-+	ldconfig -n $(DESTDIR)$(LIBDIR)
++	/sbin/ldconfig -n $(DESTDIR)$(LIBDIR)
 +	ln -s $(LIB) $(DESTDIR)$(LIBDIR)/liblinenoise.so
 -- 
 1.7.11.7
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/linenoise.git/commitdiff/4503e241a2c330209260ca7eb25a0a206dd705e6



More information about the pld-cvs-commit mailing list