Use smp_mflags correctly (bug #665770).

This commit is contained in:
Tim Waugh 2011-01-04 12:50:12 +00:00
parent 2d9f24474d
commit d09d8af963

View File

@ -1,7 +1,7 @@
Summary: Utility for modifying/upgrading files
Name: patch
Version: 2.6.1
Release: 4%{?dist}
Release: 5%{?dist}
License: GPLv2+
URL: http://www.gnu.org/software/patch/patch.html
Group: Development/Tools
@ -42,7 +42,7 @@ CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
CFLAGS=`echo $CFLAGS|sed -e 's|-fstack-protector||g'`
%endif
%configure
make %{?smp_mflags}
make %{?_smp_mflags}
%check
make check
@ -61,6 +61,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/*/*
%changelog
* Tue Jan 4 2011 Tim Waugh <twaugh@redhat.com> 2.6.1-5
- Use smp_mflags correctly (bug #665770).
* Mon Aug 16 2010 Tim Waugh <twaugh@redhat.com> 2.6.1-4
- Another fix for the selinux patch (bug #618215).