]> git.pld-linux.org Git - packages/gd.git/commitdiff
- added passing LDFLAGS="-s" to configure enviroment and use -strip-unneeded gd-1_6_3-1
authorkloczek <kloczek@pld-linux.org>
Wed, 4 Aug 1999 20:06:11 +0000 (20:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  on striping shared libraries (cosmetics).

Changed files:
    gd.spec -> 1.23

gd.spec

diff --git a/gd.spec b/gd.spec
index dbaeb187e57b1b374d5b940e758c7b97726bf1f3..7d91659c36c76ef19653f801d46806daeadbaa46 100644 (file)
--- a/gd.spec
+++ b/gd.spec
@@ -53,13 +53,14 @@ Pakiet ten zawiera statyczn
 %setup -q 
 
 %build
+LDFLAGS="-s"; export LDFLAGS
 %configure
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make DESTDIR="$RPM_BUILD_ROOT" install
-strip $RPM_BUILD_ROOT{%{_bindir}/*,%{_libdir}/*.so} || :
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
 gzip -9nf NEWS README index.html 
 
 %clean
@@ -83,4 +84,4 @@ rm -rf $RPM_BUILD_ROOT
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*.a
+%{_libdir}/lib*.a
This page took 0.062052 seconds and 4 git commands to generate.