From 2458353c69611d74abee531e163e29e633c2aec1334346d7feb10e64281bc0dc Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 5 Sep 2011 10:07:04 +0000 Subject: [PATCH] Accepting request 80350 from home:pgajdos - build with --no-copy-dt-needed-entries OBS-URL: https://build.opensuse.org/request/show/80350 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/snd?expand=0&rev=24 --- snd.changes | 10 ++++++++++ snd.spec | 6 ++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/snd.changes b/snd.changes index 76d3b96..37bdb1f 100644 --- a/snd.changes +++ b/snd.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Wed Aug 31 10:32:48 UTC 2011 - pgajdos@suse.com + +- build with --no-copy-dt-needed-entries + +------------------------------------------------------------------- +Sat Apr 10 07:56:00 UTC 2010 - davejplater@gmail.com + +- Fixed executable-stack rpmlint error in /usr/bin/snd + ------------------------------------------------------------------- Mon Apr 5 07:04:32 UTC 2010 - davejplater@gmail.com diff --git a/snd.spec b/snd.spec index 8d18857..d76375f 100644 --- a/snd.spec +++ b/snd.spec @@ -23,7 +23,7 @@ BuildRequires: alsa-devel fftw3-devel freeglut-devel gsl gsl-devel gtk2-devel l BuildRequires: libdrm-devel libjack-devel libsamplerate-devel update-desktop-files Summary: Powerful Sound File Editor Version: 11.4 -Release: 1 +Release: 2 License: LGPLv2.1+ Group: Productivity/Multimedia/Sound/Editors and Convertors Requires: ladspa @@ -62,6 +62,7 @@ find -name "*.png" -type f | xargs chmod 0644 # %endif CFLAGS="$RPM_OPT_FLAGS $CFLAGS -fno-strict-aliasing" \ CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ +LDFLAGS="$LDFLAGS -Wl,-z -Wl,noexecstack" \ ./configure --prefix=%{_prefix} \ --with-gtk \ --with-alsa \ @@ -69,7 +70,8 @@ CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ --with-static-xm \ --with-gl \ %{with_jack} -# make +# feel free to improve following change and please notify upstream +sed -i "s:\(^LIBS =.*\):\1 -lX11 -ldl:" makefile make %{?jobs:-j %jobs} make sndplay sndinfo audinfo