Don't override CFLAGS in Makefile.am.

This commit is contained in:
Tim Waugh 2014-02-28 17:17:14 +00:00
parent 1c606e9f5f
commit f0718d02c4

View File

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