Accepting request 691291 from home:Andreas_Schwab:Factory

- dont-strip.patch: don't strip libraries

OBS-URL: https://build.opensuse.org/request/show/691291
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/racket?expand=0&rev=35
This commit is contained in:
Jonathan Brielmaier 2019-04-11 07:33:05 +00:00 committed by Git OBS Bridge
parent 2bf44fc5c7
commit 93051f5cab
3 changed files with 98 additions and 0 deletions

91
dont-strip.patch Normal file
View File

@ -0,0 +1,91 @@
Index: racket-7.2/src/cfg-racket
===================================================================
--- racket-7.2.orig/src/cfg-racket
+++ racket-7.2/src/cfg-racket
@@ -6833,7 +6833,7 @@ if test "${enable_shared}" = "yes" ; the
LIBSFX=la
WXLIBS=WXLIBSDYN
ICP="${LIBTOOLPROG} --mode=install cp"
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
MRLIBINSTALL="install-lib"
LIBFINISH="${LIBTOOLPROG} --mode=finish"
LTO="lo"
Index: racket-7.2/src/cs/c/configure
===================================================================
--- racket-7.2.orig/src/cs/c/configure
+++ racket-7.2/src/cs/c/configure
@@ -4615,7 +4615,7 @@ if test "${enable_shared}" = "yes" ; the
LTA="la"
STRIP_LIB_DEBUG=":"
LIBSFX=la
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
else
ICP=cp
LTO="o"
Index: racket-7.2/src/cs/c/configure.ac
===================================================================
--- racket-7.2.orig/src/cs/c/configure.ac
+++ racket-7.2/src/cs/c/configure.ac
@@ -415,7 +415,7 @@ if test "${enable_shared}" = "yes" ; the
LTA="la"
STRIP_LIB_DEBUG=":"
LIBSFX=la
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
else
ICP=cp
LTO="o"
Index: racket-7.2/src/racket/configure.ac
===================================================================
--- racket-7.2.orig/src/racket/configure.ac
+++ racket-7.2/src/racket/configure.ac
@@ -1382,7 +1382,7 @@ if test "${enable_shared}" = "yes" ; the
LIBSFX=la
WXLIBS=WXLIBSDYN
ICP="${LIBTOOLPROG} --mode=install cp"
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
MRLIBINSTALL="install-lib"
LIBFINISH="${LIBTOOLPROG} --mode=finish"
LTO="lo"
Index: racket-7.2/src/rktio/configure
===================================================================
--- racket-7.2.orig/src/rktio/configure
+++ racket-7.2/src/rktio/configure
@@ -4490,7 +4490,7 @@ if test "${enable_shared}" = "yes" ; the
LTA="la"
STRIP_LIB_DEBUG=":"
LIBSFX=la
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
else
ICP=cp
LTO="o"
Index: racket-7.2/src/rktio/configure.ac
===================================================================
--- racket-7.2.orig/src/rktio/configure.ac
+++ racket-7.2/src/rktio/configure.ac
@@ -384,7 +384,7 @@ if test "${enable_shared}" = "yes" ; the
LTA="la"
STRIP_LIB_DEBUG=":"
LIBSFX=la
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
else
ICP=cp
LTO="o"
Index: racket-7.2/src/start/configure.ac
===================================================================
--- racket-7.2.orig/src/start/configure.ac
+++ racket-7.2/src/start/configure.ac
@@ -1360,7 +1360,7 @@ if test "${enable_shared}" = "yes" ; the
LIBSFX=la
WXLIBS=WXLIBSDYN
ICP="${LIBTOOLPROG} --mode=install cp"
- ICP_LIB="${LIBTOOLPROG} --mode=install install -s"
+ ICP_LIB="${LIBTOOLPROG} --mode=install install"
MRLIBINSTALL="install-lib"
LIBFINISH="${LIBTOOLPROG} --mode=finish"
LTO="lo"

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Apr 3 14:22:44 UTC 2019 - Andreas Schwab <schwab@suse.de>
- dont-strip.patch: don't strip libraries
-------------------------------------------------------------------
Mon Apr 1 11:32:05 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -29,6 +29,7 @@ Source2: racket-completion.bash
Source3: racket-rpmlintrc
Patch0: racket-doc.patch
Patch1: extflvector-length-inlined.patch
Patch2: dont-strip.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ImageMagick
BuildRequires: ca-certificates
@ -122,6 +123,7 @@ compile and link programs which use Racket.
%setup -q
%patch0 -p0
%patch1 -p2
%patch2 -p1
cp -p %{S:2} src/