Accepting request 89734 from home:msmeissn:branches:Base:System

fixed ppc build

OBS-URL: https://build.opensuse.org/request/show/89734
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=15
This commit is contained in:
Cristian Rodríguez
2011-10-29 18:54:23 +00:00
committed by Git OBS Bridge
parent cae5da8ad4
commit 23a194b2c8
3 changed files with 33 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ Release: 1
Summary: Print lines matching a pattern
Source: grep-%{version}.tar.bz2
Patch0: fix-testsuite.diff
Patch1: grep-ppc-fix.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -47,6 +48,11 @@ echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.
%endif
%patch0
# If you platform Long Double and Double to not match as expected
%ifarch ppc ppc64
%patch1 -p1
%endif
%build
%if 0%{?suse_version} < 1120
%configure -C --bindir=/bin --disable-silent-rules --without-included-regex