[packages/setup] - rel 3; make sure it is built statically
arekm
arekm at pld-linux.org
Tue Jun 18 15:45:13 CEST 2013
commit 3aa38c78b456f4d1e348ea4e4f5128e65c5b0af8
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Tue Jun 18 15:45:11 2013 +0200
- rel 3; make sure it is built statically
setup.spec | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/setup.spec b/setup.spec
index aee3d71..aa5ef3f 100644
--- a/setup.spec
+++ b/setup.spec
@@ -15,7 +15,7 @@ Summary(pt_BR.UTF-8): Vários arquivos básicos de configuração
Summary(tr.UTF-8): Basit kurulum dosyaları
Name: setup
Version: 2.8.5
-Release: 2
+Release: 3
License: Public Domain, partially BSD-like
Group: Base
Source0: %{name}-%{version}.tar.bz2
@@ -104,7 +104,9 @@ cp -a %{SOURCE3} iana-etc/port-numbers.iana
%{__make} \
CC="%{?with_diet:diet }%{__cc}" \
OPT_FLAGS="%{rpmcflags} -Os" \
- LDFLAGS="%{rpmcflags} %{rpmldflags}"
+ LDFLAGS="%{rpmcflags} %{rpmldflags} -static"
+
+ldd postshell | grep "not a dynamic executable" || exit 1
%install
rm -rf $RPM_BUILD_ROOT
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/setup.git/commitdiff/3aa38c78b456f4d1e348ea4e4f5128e65c5b0af8
More information about the pld-cvs-commit
mailing list