[system-config-printer] Don't override CFLAGS in Makefile.am.

Tim Waugh twaugh at fedoraproject.org
Fri Feb 28 17:20:51 UTC 2014


commit f0718d02c48892c3b17f0c58bfde14ae56594337
Author: Tim Waugh <twaugh at redhat.com>
Date:   Fri Feb 28 17:17:14 2014 +0000

    Don't override CFLAGS in Makefile.am.

 system-config-printer.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/system-config-printer.spec b/system-config-printer.spec
index c0955b2..8c87ced 100644
--- a/system-config-printer.spec
+++ b/system-config-printer.spec
@@ -1,7 +1,7 @@
 Summary: A printer administration tool
 Name: system-config-printer
 Version: 1.4.3
-Release: 7%{?dist}
+Release: 8%{?dist}
 License: GPLv2+
 URL: http://cyberelk.net/tim/software/system-config-printer/
 Group: System Environment/Base
@@ -77,6 +77,8 @@ printers.
 # Fixed makefile to work with _smp_mflags (patch from upstream).
 %patch3 -p1 -b .smp-mflags
 
+sed -i.cflags-override -e '/^CFLAGS/d' Makefile.{am,in}
+
 %build
 %configure --with-udev-rules
 make %{?_smp_mflags}
@@ -175,6 +177,9 @@ touch %buildroot%{_localstatedir}/run/udev-configure-printer/usb-uris
 exit 0
 
 %changelog
+* Fri Feb 28 2014 Tim Waugh <twaugh at redhat.com> 1.4.3-8
+- Don't override CFLAGS in Makefile.am.
+
 * Fri Dec  6 2013 Tim Waugh <twaugh at redhat.com> 1.4.3-7
 - Include upstream Makefile fixes for udev directories.
 


More information about the scm-commits mailing list