SHA256
1
0
forked from pool/mawk

Accepting request 622031 from home:pluskalm:branches:Base:System

- Update to version 1.3.4-20171017:

OBS-URL: https://build.opensuse.org/request/show/622031
OBS-URL: https://build.opensuse.org/package/show/Base:System/mawk?expand=0&rev=20
This commit is contained in:
2018-07-12 12:31:02 +00:00
committed by Git OBS Bridge
parent 0d1becc2e9
commit 951abe9a14
7 changed files with 73 additions and 25 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package mawk
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@@ -18,23 +18,22 @@
%define _upver 1.3.4
%define _datever 20150503
%define _datever 20171017
Name: mawk
Version: %{_upver}.%{_datever}
Release: 0
Summary: Implementation of New/POSIX AWK
License: GPL-2.0
License: GPL-2.0-only
Group: Productivity/Text/Utilities
Url: http://invisible-island.net/mawk/mawk.html
Source0: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz
Source1: ftp://invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc
URL: http://invisible-island.net/mawk/mawk.html
Source0: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz
Source1: ftp://ftp.invisible-island.net/mawk/mawk-%{_upver}-%{_datever}.tgz.asc
Source2: %{name}.keyring
# PATCH-FIX-OPENSUSE -- bmwiedemann -- drop timestamp / for build-compare
Patch0: reproducible.patch
BuildRequires: update-alternatives
Requires(post): update-alternatives
Requires(preun): update-alternatives
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
mawk is an interpreter for the AWK Programming Language. It implements the AWK
@@ -52,7 +51,7 @@ chmod 755 examples/*
# without --enable-warnings several functions will not be marked with gcc's
# noreturn attribute and produce warnings when $RPM_OPT_FLAGS contains -Wall
%configure \
--enable-warnings
--enable-warnings
make %{?_smp_mflags}
%install
@@ -82,8 +81,8 @@ if [ $1 -eq 0 ]; then
fi
%files
%defattr(-,root,root,-)
%doc ACKNOWLEDGMENT CHANGES COPYING README examples/
%license COPYING
%doc ACKNOWLEDGMENT CHANGES README examples/
/bin/mawk
%{_bindir}/mawk
%{_mandir}/man1/mawk.1%{?ext_man}