[netlabel_tools] - Build with CFLAGS="${optflags}"

pcmoore pcmoore at fedoraproject.org
Thu Feb 27 20:41:07 UTC 2014


commit 8779b02a2653237e490b66851c71e3432fef9e51
Author: Paul Moore <pmoore at redhat.com>
Date:   Thu Feb 27 15:41:49 2014 -0500

    - Build with CFLAGS="${optflags}"

 netlabel_tools.spec |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/netlabel_tools.spec b/netlabel_tools.spec
index 1982724..21a415e 100644
--- a/netlabel_tools.spec
+++ b/netlabel_tools.spec
@@ -1,7 +1,7 @@
 Summary: Tools to manage the Linux NetLabel subsystem
 Name: netlabel_tools
 Version: 0.20
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 URL: http://netlabel.sf.net/
@@ -28,7 +28,7 @@ kernel subsystem.
 
 %build
 ./configure --prefix="%{_prefix}" --libdir="%{_libdir}" --enable-systemd
-make V=1 %{?_smp_mflags}
+CFLAGS="%{optflags}" make V=1 %{?_smp_mflags}
 
 %install
 rm -rf "%{buildroot}"
@@ -57,6 +57,8 @@ make V=1 DESTDIR="%{buildroot}" install
 %attr(0644,root,root) %config(noreplace) /etc/netlabel.rules
 
 %changelog
+* Thu Feb 27 2014 Paul Moore <pmoore at redhat.com> - 0.20-2
+- Build with CFLAGS="${optflags}"
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.20-1
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list