diff --git a/aime-8.20150211-ldflags.patch b/aime-8.20150211-ldflags.patch new file mode 100644 index 0000000..bd71b72 --- /dev/null +++ b/aime-8.20150211-ldflags.patch @@ -0,0 +1,22 @@ +diff -up aime-8.20150211/src/Makefile.am~ aime-8.20150211/src/Makefile.am +--- aime-8.20150211/src/Makefile.am~ 2014-10-13 16:49:21.000000000 +0300 ++++ aime-8.20150211/src/Makefile.am 2015-04-04 11:32:55.869434199 +0300 +@@ -1,7 +1,6 @@ + ## Process this file with automake to produce Makefile.in + + AM_CFLAGS = -Wall @GCCWFLAGS@ -O2 @GCCOFLAGS@ +-AM_LDFLAGS = -s + PM_CFLAGS = @GCCDFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ + $(CFLAGS) $(PM_CFLAGS) +diff -up aime-8.20150211/src/Makefile.in~ aime-8.20150211/src/Makefile.in +--- aime-8.20150211/src/Makefile.in~ 2015-02-12 10:17:26.000000000 +0200 ++++ aime-8.20150211/src/Makefile.in 2015-04-04 11:33:05.317641851 +0300 +@@ -378,7 +378,6 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + AM_CFLAGS = -Wall @GCCWFLAGS@ -O2 @GCCOFLAGS@ +-AM_LDFLAGS = -s + PM_CFLAGS = @GCCDFLAGS@ + COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) \ + $(CFLAGS) $(PM_CFLAGS) diff --git a/aime.spec b/aime.spec index bc95110..f6cc26d 100644 --- a/aime.spec +++ b/aime.spec @@ -2,11 +2,12 @@ Name: aime Version: 8.20150211 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An application embeddable programming language interpreter License: GPLv3+ URL: http://aime-embedded.sourceforge.net/ Source0: http://downloads.sourceforge.net/project/aime-embedded/%{name}/%{name}-%{version}/%{name}-%{version}.tar.gz +Patch0: %{name}-8.20150211-ldflags.patch Requires(post): /sbin/install-info Requires(preun): /sbin/install-info @@ -28,6 +29,7 @@ use %{name}. %prep %setup -q +%patch0 -p1 %build %configure @@ -59,6 +61,9 @@ fi %{_includedir}/%{name}.h %changelog +* Sat Apr 4 2015 Ville Skyttä - 8.20150211-2 +- Don't strip binaries too early + * Wed Apr 01 2015 Christopher Meng - 8.20150211-1 - Update to 8.20150211