findutils.spec: use out of source build
This commit is contained in:
parent
3616c1547d
commit
c7699fb1ac
@ -80,20 +80,20 @@ autoreconf -fiv
|
|||||||
# prevent test-isinf from failing with gcc-5.3.1 on ppc64le (#1294016)
|
# prevent test-isinf from failing with gcc-5.3.1 on ppc64le (#1294016)
|
||||||
export CFLAGS="$RPM_OPT_FLAGS -D__SUPPORT_SNAN__"
|
export CFLAGS="$RPM_OPT_FLAGS -D__SUPPORT_SNAN__"
|
||||||
|
|
||||||
|
mkdir build
|
||||||
|
cd build
|
||||||
|
ln -s ../configure
|
||||||
%configure
|
%configure
|
||||||
|
|
||||||
# uncomment to turn off optimizations
|
|
||||||
#find -name Makefile | xargs sed -i 's/-O2/-O0/'
|
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check -C build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
%make_install -C build
|
||||||
|
|
||||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
rm -f %{buildroot}%{_infodir}/dir
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
@ -122,6 +122,7 @@ fi
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jun 17 2016 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-6
|
* Fri Jun 17 2016 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-6
|
||||||
|
- use out of source build
|
||||||
- avoid SIGSEGV in case the internal -noop option is used (#1346471)
|
- avoid SIGSEGV in case the internal -noop option is used (#1346471)
|
||||||
|
|
||||||
* Tue May 31 2016 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-5
|
* Tue May 31 2016 Kamil Dudka <kdudka@redhat.com> - 1:4.6.0-5
|
||||||
|
Loading…
Reference in New Issue
Block a user