Browse Source

upgrading package: expect 5.34.1 -> 5.37

master
parent
commit
e1c9cad632
  1. 27
      expect/expect.spec

27
expect/expect.spec

@ -23,8 +23,17 @@
## SUCH DAMAGE. ## SUCH DAMAGE.
## ##
%define V_expect_maj 5.34 # ATTENTION: Expect is brain-dead: it requires private Tcl information
%define V_expect_min 5.34.1 # (tclInt.h) which only can be found in the Tcl sources on the one
# hand and it requires the Tcl installation files under run-time on
# the other hand (which can be provided by the Tcl package). This
# means we have to do something very strange: include the Tcl source
# and use it for building and requiring the Tcl package for use under
# run-time. Hence we require _exactly_ a particular Tcl version. Keep
# this in sync!
# package versions
%define V_expect 5.37
%define V_tcl 8.3.4 %define V_tcl 8.3.4
# package information # package information
@ -36,8 +45,8 @@ Packager: The OpenPKG Project
Distribution: OpenPKG [EXP] Distribution: OpenPKG [EXP]
Group: Language Group: Language
License: GPL License: GPL
Version: %{V_expect_min} Version: %{V_expect}
Release: 20020318 Release: 20020613
# list of sources # list of sources
Source0: http://expect.nist.gov/expect.tar.gz Source0: http://expect.nist.gov/expect.tar.gz
@ -46,8 +55,8 @@ Source1: ftp://ftp.scriptics.com/pub/tcl/tcl8_3/tcl%{V_tcl}.tar.gz
# build information # build information
Prefix: %{l_prefix} Prefix: %{l_prefix}
BuildRoot: %{l_buildroot} BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20020206 BuildPreReq: OpenPKG, openpkg >= 20020206, tcl = %{V_tcl}
PreReq: OpenPKG, openpkg >= 20020206 PreReq: OpenPKG, openpkg >= 20020206, tcl = %{V_tcl}
AutoReq: no AutoReq: no
AutoReqProv: no AutoReqProv: no
@ -58,7 +67,7 @@ AutoReqProv: no
applications. applications.
%prep %prep
%setup0 -q -c -n expect-%{V_expect_maj} %setup0 -q -c -n expect-%{version}
%setup1 -q -T -D -a 1 %setup1 -q -T -D -a 1
%build %build
@ -72,7 +81,7 @@ AutoReqProv: no
--disable-shared --disable-shared
%{l_make} %{l_mflags -O} %{l_make} %{l_mflags -O}
) )
( cd expect-%{V_expect_maj} ( cd expect-%{V_expect}
CC="%{l_cc}" \ CC="%{l_cc}" \
CFLAGS="%{l_cflags -O}" \ CFLAGS="%{l_cflags -O}" \
./configure \ ./configure \
@ -86,7 +95,7 @@ AutoReqProv: no
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
( cd expect-%{V_expect_maj} ( cd expect-%{V_expect}
%{l_shtool} mkdir -f -p -m 755 \ %{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/man/man1 $RPM_BUILD_ROOT%{l_prefix}/man/man1

Loading…
Cancel
Save