[lynx] drop a compiler wrapper no longer needed
Kamil Dudka
kdudka at fedoraproject.org
Wed Jan 28 14:02:27 UTC 2015
commit db9514fcb72ec8e2ed551d47dd23c646101aecb8
Author: Kamil Dudka <kdudka at redhat.com>
Date: Wed Jan 28 14:50:35 2015 +0100
drop a compiler wrapper no longer needed
lynx.spec | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
---
diff --git a/lynx.spec b/lynx.spec
index 9de8cb9..a65e6df 100644
--- a/lynx.spec
+++ b/lynx.spec
@@ -64,19 +64,6 @@ perl -pi -e 's,^STARTFILE:.*,STARTFILE:file:/usr/share/doc/HTML/en-US/index.html
%endif
%build
-export PATH=`pwd`:$PATH
-cat >gcc <<EOF
-#!/bin/sh
-ARGS=""
-while [ \$# != 0 ]; do
- if [ \$1 != "-I/usr/include" -a \$1 != "-I/usr/include/" ]; then
- ARGS="\$ARGS \$1"
- fi
- shift
-done
-exec /usr/bin/gcc \$ARGS
-EOF
-chmod 0755 gcc
CFLAGS="-ggdb $RPM_OPT_FLAGS -DNCURSES -DNCURSES_MOUSE_VERSION" ; export CFLAGS
CXXFLAGS="-ggdb $RPM_OPT_FLAGS -DNCURSES -DNCURSES_MOUSE_VERSION" ; export CXXFLAGS
if pkg-config openssl ; then
@@ -143,6 +130,7 @@ EOF
%changelog
* Wed Jan 28 2015 Kamil Dudka <kdudka at redhat.com> - 2.8.9-0.5.dev4
- update to the latest upstream pre-release
+- drop a compiler wrapper no longer needed
* Mon Jan 05 2015 Kamil Dudka <kdudka at redhat.com> - 2.8.9-0.4.dev2
- update to the latest upstream pre-release
More information about the scm-commits
mailing list