Accepting request 294503 from home:pluskalm:branches:Base:System
- Add gpg signature - Cleanup spec file with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/294503 OBS-URL: https://build.opensuse.org/package/show/Base:System/mawk?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
fe3dfa5418
commit
8f3176ecd6
20
mawk.spec
20
mawk.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package mawk
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2010 Guido Berhoerster.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -18,20 +18,22 @@
|
||||
|
||||
|
||||
Name: mawk
|
||||
Version: 1.3.4
|
||||
Release: 0
|
||||
Summary: Implementation of New/POSIX AWK
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Text/Utilities
|
||||
Version: 1.3.4
|
||||
Release: 0
|
||||
BuildRequires: update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
Source: ftp://invisible-island.net/mawk/mawk-%{version}.tgz
|
||||
Url: http://invisible-island.net/mawk/mawk.html
|
||||
Source0: ftp://invisible-island.net/mawk/mawk-%{version}.tgz
|
||||
Source1: ftp://invisible-island.net/mawk/mawk-%{version}.tgz.asc
|
||||
Source2: %{name}.keyring
|
||||
# PATCH-FIX-UPSTREAM mawk-1.3.4-fix-make-check-path-handling.patch gber@opensuse.org -- Modifies makefile and mawktest to use relative paths
|
||||
Patch0: mawk-1.3.4-fix-make-check-path-handling.patch
|
||||
# PATCH-FIX-UPSTREAM mawk-1.3.4-fix-regex-matching.patch bnc#740484 gber@opensuse.org -- Adds limit-check after processing match(test, "[^0-9A-Za-z]") to ensure the internal trailing null of the test-string is not mistaken for part of the string
|
||||
Patch1: mawk-1.3.4-fix-regex-matching.patch
|
||||
Url: http://invisible-island.net/mawk/mawk.html
|
||||
BuildRequires: update-alternatives
|
||||
Requires(post): update-alternatives
|
||||
Requires(preun): update-alternatives
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -67,7 +69,7 @@ ln -s %{_sysconfdir}/alternatives/usr-bin-awk %{buildroot}%{_bindir}/awk
|
||||
ln -s %{_sysconfdir}/alternatives/awk.1%{?ext_man} %{buildroot}%{_mandir}/man1/awk.1%{?ext_man}
|
||||
|
||||
%check
|
||||
make check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%post
|
||||
%{_sbindir}/update-alternatives \
|
||||
|
Reference in New Issue
Block a user