[idle3-tools] Fix -debuginfo (#883104).

Ville Skyttä scop at fedoraproject.org
Tue Dec 31 13:07:16 UTC 2013


commit 9acdedfa06b452f22cc3a0beafa930c880cb7c8d
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Tue Dec 31 15:07:09 2013 +0200

    Fix -debuginfo (#883104).

 idle3-tools.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/idle3-tools.spec b/idle3-tools.spec
index 85b7c38..bfe61fe 100644
--- a/idle3-tools.spec
+++ b/idle3-tools.spec
@@ -1,6 +1,6 @@
 Name:           idle3-tools
 Version:        0.9.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Manipulate the value of the idle3 timer found on recent WD Hard Disk Drives
 License:        GPLv3
 Group:          Applications/System
@@ -24,7 +24,8 @@ LEVEL INFORMATION OF YOUR HARDDRIVE. USE AT YOUR OWN RISK.
 %setup -q
 
 %build
-CFLAGS="${RPM_OPT_FLAGS}" make %{?_smp_mflags}
+CFLAGS="${RPM_OPT_FLAGS}" make %{?_smp_mflags} \
+    LDFLAGS="${RPM_LD_FLAGS}" STRIP=/bin/true
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -36,5 +37,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man8/idle3ctl*
 
 %changelog
+* Tue Dec 31 2013 Ville Skyttä <ville.skytta at iki.fi> - 0.9.1-2
+- Fix -debuginfo (#883104).
+
 * Mon Dec  3 2012 Paul Komkoff <i at stingr.net> - 0.9.1-1
 - initial version


More information about the scm-commits mailing list