From 93051f5cab079279bb2ff6d2da30e82fd5c3338932de93cfee080d7d7e0496ff Mon Sep 17 00:00:00 2001 From: Jonathan Brielmaier Date: Thu, 11 Apr 2019 07:33:05 +0000 Subject: [PATCH] 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 --- dont-strip.patch | 91 ++++++++++++++++++++++++++++++++++++++++++++++++ racket.changes | 5 +++ racket.spec | 2 ++ 3 files changed, 98 insertions(+) create mode 100644 dont-strip.patch diff --git a/dont-strip.patch b/dont-strip.patch new file mode 100644 index 0000000..dc382b5 --- /dev/null +++ b/dont-strip.patch @@ -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" diff --git a/racket.changes b/racket.changes index e342fdd..20748f9 100644 --- a/racket.changes +++ b/racket.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Apr 3 14:22:44 UTC 2019 - Andreas Schwab + +- dont-strip.patch: don't strip libraries + ------------------------------------------------------------------- Mon Apr 1 11:32:05 UTC 2019 - Dr. Werner Fink diff --git a/racket.spec b/racket.spec index 77881d9..e840b0a 100644 --- a/racket.spec +++ b/racket.spec @@ -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/