- run test make target by default

- can be turned off with --without check
Sat Mar 05 2005 Robert Scheck <redhat@linuxnetz.de>
- update to 5.43.0 (150369)
- no longer need expect-5.39.0-64bit-82547.patch,
    expect-5.38.0-autopasswd-9917.patch and
    expect-5.42-mkpasswd-verbose-user-141454.patch
- run aclocal and configure with current autoconf (116777)
- buildrequire autoconf and automake instead of autoconf213
This commit is contained in:
Jens Petersen 2005-03-07 04:31:01 +00:00
parent b42ada8124
commit 153116252c
3 changed files with 30 additions and 12 deletions

View File

@ -1 +1,2 @@
expect-5.42.1.tar.gz
expect-5.43.0.tar.gz

View File

@ -1,24 +1,21 @@
%define majorver 5.42
%define majorver 5.43
Summary: A program-script interaction and testing utility
Name: expect
Version: %{majorver}.1
Release: 2
Version: %{majorver}.0
Release: 1
License: Public Domain
Group: Development/Languages
URL: http://expect.nist.gov/
Source: http://expect.nist.gov/src/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Buildrequires: tcl-devel tk-devel autoconf213
Buildrequires: tcl-devel tk-devel autoconf automake
Patch0: expect-5.32.2-random.patch
Patch1: expect-5.39.0-64bit-82547.patch
Patch3: expect-5.32.2-fixcat.patch
Patch6: expect-5.38.0-spawn-43310.patch
Patch8: expect-5.32.2-setpgrp.patch
Patch9: expect-5.38.0-autopasswd-9917.patch
Patch10: expect-5.38.0-lib-spec.patch
Patch11: expect-5.39.0-libdir.patch
Patch12: expect-5.42-mkpasswd-verbose-user-141454.patch
%description
Expect is a tcl application for automating and testing
@ -57,21 +54,29 @@ This package contains expectk and some scripts that use it.
%prep
%setup -q -n expect-%{majorver}
%patch0 -p1 -b .random
%patch1 -p1 -b .64bit
%patch3 -p1 -b .fixcat
%patch6 -p2 -b .spawn
%patch8 -p2 -b .pgrp
%patch9 -p1 -b .hyphen
%patch10 -p1 -b .libspec
%patch11 -p1 -b .libdir
%patch12 -p1 -b .verbose
# patch10 touch configure.in
autoconf-2.13
aclocal
autoconf
( cd testsuite
autoconf )
%build
%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-shared --with-tclinclude=%{_includedir}/tcl-private
make %{?_smp_mflags}
# run "make test" by default
%{?_without_check: %define _without_check 1}
%{!?_without_check: %define _without_check 0}
%if ! %{_without_check}
make test
%endif
%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL_ROOT=%{buildroot}
@ -140,6 +145,18 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man1/tknewsbiff.1*
%changelog
* Mon Mar 7 2005 Jens Petersen <petersen@redhat.com> - 5.43.0-1
- run test make target by default
- can be turned off with --without check
* Sat Mar 05 2005 Robert Scheck <redhat@linuxnetz.de>
- update to 5.43.0 (150369)
- no longer need expect-5.39.0-64bit-82547.patch,
expect-5.38.0-autopasswd-9917.patch
and expect-5.42-mkpasswd-verbose-user-141454.patch
- run aclocal and configure with current autoconf (116777)
- buildrequire autoconf and automake instead of autoconf213
* Fri Dec 3 2004 Jens Petersen <petersen@redhat.com> - 5.42.1-2
- fix "mkpasswd -v" failure when user not specified with
expect-5.42-mkpasswd-verbose-user-141454.patch (J F Wheeler, 141454)

View File

@ -1 +1 @@
fea346fac6aaf74b0851f2441f478571 expect-5.42.1.tar.gz
230400129630335b3060a42f66fec11d expect-5.43.0.tar.gz