[tree] Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used (bug #769655).
Tim Waugh
twaugh at fedoraproject.org
Mon Dec 5 13:10:59 UTC 2011
commit 4b070c551c110ff52ad6705c4aaac21f29744ba5
Author: Tim Waugh <twaugh at redhat.com>
Date: Mon Dec 5 12:54:09 2011 +0000
Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used
(bug #769655).
tree.spec | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/tree.spec b/tree.spec
index 7b86b52..6dd0b97 100644
--- a/tree.spec
+++ b/tree.spec
@@ -1,7 +1,7 @@
Summary: File system tree viewer
Name: tree
Version: 1.6.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Group: Applications/File
License: GPLv2+
Url: http://mama.indstate.edu/users/ice/tree/
@@ -28,7 +28,7 @@ utility.
%patch3 -p1 -b .no-color-by-default
%build
-make CFLAGS="$RPM_OPT_FLAGS" "CPPFLAGS=$(getconf LFS_CFLAGS)" %{?_smp_mflags}
+make CFLAGS="$RPM_OPT_FLAGS $(getconf LFS_CFLAGS)" %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
@@ -50,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
%doc README LICENSE
%changelog
+* Mon Dec 5 2011 Tim Waugh <twaugh at redhat.com> 1.6.0-3
+- Put LFS_CFLAGS in CFLAGS not CPPFLAGS so they actually get used
+ (bug #769655).
+
* Mon Jul 4 2011 Tim Waugh <twaugh at redhat.com> 1.6.0-2
- Don't strip the binary too early (bug #718456).
More information about the scm-commits
mailing list