SHA256
6
0
forked from pool/gawk

Accepting request 78415 from home:elvigia:branches:Base:System

- Update to version 4.0.0 , important changes
 * The special files /dev/pid, /dev/ppid, /dev/pgrpid and /dev/user are
    now completely gone. Use PROCINFO instead.
 * The POSIX 2008 behavior for `sub' and `gsub' are now the default.
 * In POSIX mode, string comparisons use strcoll/wcscoll.
 * Gawk now treats ranges of the form [d-h] as if they were in the C

OBS-URL: https://build.opensuse.org/request/show/78415
OBS-URL: https://build.opensuse.org/package/show/Base:System/gawk?expand=0&rev=12
This commit is contained in:
2011-08-10 09:55:56 +00:00
committed by Git OBS Bridge
parent 366b65f000
commit 090ef72840
5 changed files with 36 additions and 27 deletions

View File

@@ -25,11 +25,11 @@ Provides: awk
AutoReqProv: on
BuildRequires: update-alternatives
PreReq: %{install_info_prereq} update-alternatives
Version: 3.1.8
Version: 4.0.0
Release: 1
Summary: GNU awk
Source: gawk-%{version}.tar.bz2
Patch: gawk-%{version}.diff
Patch: gawk-3.1.8.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -58,9 +58,7 @@ rm -f doc/*.info
%build
AUTOPOINT=true autoreconf --force --install
./configure CFLAGS="$RPM_OPT_FLAGS" \
--prefix=/usr --libexecdir=%{_libdir} \
--mandir=%{_mandir} --infodir=%{_infodir}
%configure --libexecdir=%{_libdir}
%if %do_profiling
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS %cflags_profile_generate"
make check
@@ -112,6 +110,7 @@ fi
%endif
%doc AUTHORS COPYING FUTURES LIMITATIONS NEWS POSIX.STD PROBLEMS README
/bin/gawk
%{_bindir}/dgawk
%{_bindir}/gawk
%{_bindir}/igawk
%{_bindir}/pgawk