[i7z] Add and

fantom fantom at fedoraproject.org
Fri Sep 21 19:16:33 UTC 2012


commit e66c385581ed9d972ab40f1220d2194cc46c8ec7
Author: Matthieu Saulnier <fantom at fedoraproject.org>
Date:   Fri Sep 21 21:16:03 2012 +0200

    Add  and

 i7z.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/i7z.spec b/i7z.spec
index 1f9e1de..1599899 100644
--- a/i7z.spec
+++ b/i7z.spec
@@ -1,6 +1,6 @@
 Name:           i7z
 Version:        0.27.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        CLI curses based monitoring tool for Intel Core i7 processors
 Summary(fr):    Outil de surveillance en CLI pour processeurs Intel Core i7
 
@@ -27,7 +27,7 @@ processeurs Intel Core i7.
 
 
 %build
-make %{?_smp_mflags}
+CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS" make %{?_smp_mflags}
 
 
 %install
@@ -40,6 +40,9 @@ install -Dpm 755 %{name} %{buildroot}%{_sbindir}/%{name}
 
 
 %changelog
+* Fri Sep 21 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 0.27.2-2
+- Add $RPM_OPT_FLAGS and $RPM_LD_FLAGS in %%build section
+
 * Fri Sep 14 2012 Matthieu Saulnier <fantom at fedoraproject.org> - 0.27.2-1
 - Update to 0.27.2 (fix RHBZ #850585)
 


More information about the scm-commits mailing list