[dvdauthor] Build with $RPM_LD_FLAGS.

Ville Skyttä scop at fedoraproject.org
Fri Sep 23 16:38:01 UTC 2011


commit 035bb8f8eeaae6dd49a52ca593100a5969a8e1e2
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Fri Sep 23 19:37:46 2011 +0300

    Build with $RPM_LD_FLAGS.

 dvdauthor.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/dvdauthor.spec b/dvdauthor.spec
index d1e2f31..52b6ed7 100644
--- a/dvdauthor.spec
+++ b/dvdauthor.spec
@@ -1,6 +1,6 @@
 Name:           dvdauthor
 Version:        0.7.0
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Command line DVD authoring tool
 
 Group:          Applications/Multimedia
@@ -35,7 +35,7 @@ chmod -c -x src/subgen-image.c
 
 %build
 export MAGICKCONFIG=/bin/true # disable ImageMagick
-export LDFLAGS="$LDFLAGS -Wl,--as-needed" # avoid *Magick-config linkage bloat
+export LDFLAGS="$RPM_LD_FLAGS -Wl,--as-needed" # *Magick-config linkage bloat
 %configure --disable-rpath --enable-default-video-format=NTSC
 make %{?_smp_mflags}
 
@@ -68,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Fri Sep 23 2011 Ville Skyttä <ville.skytta at iki.fi> - 0.7.0-4
+- Build with $RPM_LD_FLAGS.
+
 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.0-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list