[xnec2c] Rebuild linker missing. libm

Randall 'Randy' Berry dp67 at fedoraproject.org
Wed Dec 7 06:45:15 UTC 2011


commit 28b5a6a96599a3b2d4a294b9bd4c09b69a157c06
Author: dp67 <dp67 at fedoraproject.org>
Date:   Wed Dec 7 01:45:11 2011 -0500

    Rebuild linker missing. libm

 xnec2c.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/xnec2c.spec b/xnec2c.spec
index e38d172..25b9eae 100644
--- a/xnec2c.spec
+++ b/xnec2c.spec
@@ -1,6 +1,6 @@
 Name:           xnec2c
 Version:        1.5
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        GTK based graphical wrapper for nec2c
 
 Group:          Applications/Communications
@@ -39,7 +39,7 @@ batch style as the original does.
 %build
 ./autogen.sh
 %configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" LIBS=" -lm"
 
 
 %install
@@ -68,6 +68,9 @@ rm -rf $RPM_BUILD_ROOT
 %attr(0644,root,root) %{_datadir}/pixmaps/*
 
 %changelog
+* Mon Dec 7 2011 Randall J. Berry, N3LRX <dp67 at fedoraproject.org> - 1.5-3
+- linker error in build added libm.so
+
 * Tue Dec 06 2011 Adam Jackson <ajax at redhat.com> - 1.5-2
 - Rebuild for new libpng
 


More information about the scm-commits mailing list