SHA256
6
0
forked from pool/grep

Accepting request 437647 from home:AndreasStieger:branches:Base:System

grep 2.26

OBS-URL: https://build.opensuse.org/request/show/437647
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=71
This commit is contained in:
2016-10-28 13:08:56 +00:00
committed by Git OBS Bridge
parent ac3ff8c41b
commit 74a16347ac
6 changed files with 47 additions and 24 deletions

View File

@@ -17,7 +17,7 @@
Name: grep
Version: 2.25
Version: 2.26
Release: 0
Summary: Print lines matching a pattern
License: GPL-3.0+
@@ -51,7 +51,7 @@ echo "ac_cv_search_pcre_compile=\${ac_cv_search_pcre_compile=%{_libdir}/libpcre.
%endif
%build
%global optflags %optflags -fPIE
%global optflags %{optflags} -fPIE
export LDFLAGS="-pie"
%if 0%{?suse_version} < 1120
%configure -C --bindir=/bin --disable-silent-rules
@@ -66,7 +66,7 @@ make %{?_smp_mflags}
make check VERBOSE=1 %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install %{?_smp_mflags}
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%if 0%{?suse_version} < 1120
install -d %{buildroot}%{_bindir}
ln -sf ../../bin/egrep %{buildroot}%{_bindir}/egrep
@@ -101,7 +101,7 @@ ln -sf %{_bindir}/grep %{buildroot}/bin/grep
#EndUsrMerge
%endif
%{_bindir}/*
%{_mandir}/man1/*.gz
%{_infodir}/*.gz
%{_mandir}/man1/*%{ext_man}
%{_infodir}/*%{ext_info}
%changelog