Compare commits
6 Commits
Author | SHA1 | Date |
---|---|---|
David Kaspar [Dee'Kej] | fe1b7a7d73 | |
David Kaspar [Dee'Kej] | 649840b577 | |
David Kaspar [Dee'Kej] | 62aa3d3d3e | |
David Kaspar [Dee'Kej] | cffad890f1 | |
David Kaspar [Dee'Kej] | c641843046 | |
David Kaspar [Dee'Kej] | c5e1fcaebd |
21
gawk.spec
21
gawk.spec
|
@ -45,7 +45,7 @@
|
|||
Name: gawk
|
||||
Summary: The GNU version of the AWK text processing utility
|
||||
Version: 4.1.4
|
||||
Release: 7%{?dist}
|
||||
Release: 8%{?dist}
|
||||
|
||||
License: GPLv3+ and GPLv2+ and LGPLv2+ and BSD
|
||||
|
||||
|
@ -67,9 +67,10 @@ Requires: filesystem >= 3
|
|||
Requires(post): info
|
||||
Requires(preun): info
|
||||
|
||||
BuildRequires: ghostscript-core
|
||||
BuildRequires: git
|
||||
BuildRequires: gcc
|
||||
BuildRequires: grep
|
||||
BuildRequires: ghostscript-core
|
||||
|
||||
# Extending GAWK possibilities:
|
||||
BuildRequires: libsigsegv-devel
|
||||
|
@ -132,8 +133,7 @@ text processing.
|
|||
|
||||
%package devel
|
||||
Summary: Header file for gawk extensions development
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
BuildArch: noarch
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
This subpackage provides /usr/include/gawkapi.h header file, which contains
|
||||
|
@ -177,10 +177,10 @@ git commit --all --amend --no-edit > /dev/null
|
|||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
# Build the documentation in PDF, postscript and HTML versions:
|
||||
make -C doc pdf
|
||||
%make_build -C doc pdf
|
||||
mkdir -p html/gawk html/gawkinet
|
||||
makeinfo --html -I doc -o html/gawk doc/gawk.texi
|
||||
makeinfo --html -I doc -o html/gawkinet doc/gawkinet.texi
|
||||
|
@ -191,8 +191,8 @@ makeinfo --html -I doc -o html/gawkinet doc/gawkinet.texi
|
|||
make check
|
||||
|
||||
# Check we have correctly specified the ABI version for the current sources:
|
||||
api_major_vers=$(grep -e "gawk_api_major.*[[:digit:]]" gawkapi.h | grep -o -e "[[:digit:]]")
|
||||
api_minor_vers=$(grep -e "gawk_api_minor.*[[:digit:]]" gawkapi.h | grep -o -e "[[:digit:]]")
|
||||
api_major_vers=$(grep -i -e "gawk_api_major.*[[:digit:]]" gawkapi.h | grep -o -e "[[:digit:]]")
|
||||
api_minor_vers=$(grep -i -e "gawk_api_minor.*[[:digit:]]" gawkapi.h | grep -o -e "[[:digit:]]")
|
||||
|
||||
if [[ "$api_major_vers" != %{gawk_api_major} || "$api_minor_vers" != %{gawk_api_minor} ]]; then
|
||||
echo "Build Error: specified gawk(abi) version [%{gawk_api_major}.%{gawk_api_minor}] is different than source code API version [$api_major_vers.$api_minor_vers]!" >&2
|
||||
|
@ -276,6 +276,11 @@ fi
|
|||
# =============================================================================
|
||||
|
||||
%changelog
|
||||
* Thu Nov 23 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-8
|
||||
- 'noarch' removed from *-devel subpackage
|
||||
- added arch requirement for *-devel subpackage
|
||||
- updated the build process to use %%make_build macro
|
||||
|
||||
* Fri Sep 15 2017 David Kaspar [Dee'Kej] <dkaspar@redhat.com> - 4.1.4-7
|
||||
- Revert previous change of adding 'awk*' symlinks for info pages (bug #1486924)
|
||||
- Added patch to correctly fix the info pages issue (bug #1486924)
|
||||
|
|
Loading…
Reference in New Issue