|
|
@ -24,8 +24,8 @@ |
|
|
|
# package version |
|
|
|
# package version |
|
|
|
%define V_base_real 8.1 |
|
|
|
%define V_base_real 8.1 |
|
|
|
%define V_base_comp 81 |
|
|
|
%define V_base_comp 81 |
|
|
|
%define V_plvl_raw 1 |
|
|
|
%define V_plvl_raw 2 |
|
|
|
%define V_plvl_pad 001 |
|
|
|
%define V_plvl_pad 002 |
|
|
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
# package information |
|
|
|
Name: readline |
|
|
|
Name: readline |
|
|
@ -38,7 +38,7 @@ Class: BASE |
|
|
|
Group: Terminal |
|
|
|
Group: Terminal |
|
|
|
License: GPL |
|
|
|
License: GPL |
|
|
|
Version: %{V_base_real}.%{V_plvl_raw} |
|
|
|
Version: %{V_base_real}.%{V_plvl_raw} |
|
|
|
Release: 20210504 |
|
|
|
Release: 20220105 |
|
|
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
# package options |
|
|
|
%option with_ncurses yes |
|
|
|
%option with_ncurses yes |
|
|
@ -49,6 +49,7 @@ Source0: ftp://ftp.cwru.edu/pub/bash/readline-%{V_base_real}.tar.gz |
|
|
|
Source1: readline.pc |
|
|
|
Source1: readline.pc |
|
|
|
Patch0: readline.patch |
|
|
|
Patch0: readline.patch |
|
|
|
Patch1: ftp://ftp.cwru.edu/pub/bash/readline-%{V_base_real}-patches/readline%{V_base_comp}-001 |
|
|
|
Patch1: ftp://ftp.cwru.edu/pub/bash/readline-%{V_base_real}-patches/readline%{V_base_comp}-001 |
|
|
|
|
|
|
|
Patch2: ftp://ftp.cwru.edu/pub/bash/readline-%{V_base_real}-patches/readline%{V_base_comp}-002 |
|
|
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
# build information |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20160101 |
|
|
@ -81,6 +82,7 @@ PreReq: libiconv |
|
|
|
%setup -q -n readline-%{V_base_real} |
|
|
|
%setup -q -n readline-%{V_base_real} |
|
|
|
%patch -p0 |
|
|
|
%patch -p0 |
|
|
|
%patch -p0 -P 1 |
|
|
|
%patch -p0 -P 1 |
|
|
|
|
|
|
|
%patch -p0 -P 2 |
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
# configure package |
|
|
|
# configure package |
|
|
|