- 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:
parent
b42ada8124
commit
153116252c
@ -1 +1,2 @@
|
|||||||
expect-5.42.1.tar.gz
|
expect-5.42.1.tar.gz
|
||||||
|
expect-5.43.0.tar.gz
|
||||||
|
39
expect.spec
39
expect.spec
@ -1,24 +1,21 @@
|
|||||||
%define majorver 5.42
|
%define majorver 5.43
|
||||||
|
|
||||||
Summary: A program-script interaction and testing utility
|
Summary: A program-script interaction and testing utility
|
||||||
Name: expect
|
Name: expect
|
||||||
Version: %{majorver}.1
|
Version: %{majorver}.0
|
||||||
Release: 2
|
Release: 1
|
||||||
License: Public Domain
|
License: Public Domain
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
URL: http://expect.nist.gov/
|
URL: http://expect.nist.gov/
|
||||||
Source: http://expect.nist.gov/src/%{name}-%{version}.tar.gz
|
Source: http://expect.nist.gov/src/%{name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
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
|
Patch0: expect-5.32.2-random.patch
|
||||||
Patch1: expect-5.39.0-64bit-82547.patch
|
|
||||||
Patch3: expect-5.32.2-fixcat.patch
|
Patch3: expect-5.32.2-fixcat.patch
|
||||||
Patch6: expect-5.38.0-spawn-43310.patch
|
Patch6: expect-5.38.0-spawn-43310.patch
|
||||||
Patch8: expect-5.32.2-setpgrp.patch
|
Patch8: expect-5.32.2-setpgrp.patch
|
||||||
Patch9: expect-5.38.0-autopasswd-9917.patch
|
|
||||||
Patch10: expect-5.38.0-lib-spec.patch
|
Patch10: expect-5.38.0-lib-spec.patch
|
||||||
Patch11: expect-5.39.0-libdir.patch
|
Patch11: expect-5.39.0-libdir.patch
|
||||||
Patch12: expect-5.42-mkpasswd-verbose-user-141454.patch
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Expect is a tcl application for automating and testing
|
Expect is a tcl application for automating and testing
|
||||||
@ -57,21 +54,29 @@ This package contains expectk and some scripts that use it.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q -n expect-%{majorver}
|
%setup -q -n expect-%{majorver}
|
||||||
%patch0 -p1 -b .random
|
%patch0 -p1 -b .random
|
||||||
%patch1 -p1 -b .64bit
|
|
||||||
%patch3 -p1 -b .fixcat
|
%patch3 -p1 -b .fixcat
|
||||||
%patch6 -p2 -b .spawn
|
%patch6 -p2 -b .spawn
|
||||||
%patch8 -p2 -b .pgrp
|
%patch8 -p2 -b .pgrp
|
||||||
%patch9 -p1 -b .hyphen
|
|
||||||
%patch10 -p1 -b .libspec
|
%patch10 -p1 -b .libspec
|
||||||
%patch11 -p1 -b .libdir
|
%patch11 -p1 -b .libdir
|
||||||
%patch12 -p1 -b .verbose
|
|
||||||
# patch10 touch configure.in
|
# patch10 touch configure.in
|
||||||
autoconf-2.13
|
aclocal
|
||||||
|
autoconf
|
||||||
|
( cd testsuite
|
||||||
|
autoconf )
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-shared --with-tclinclude=%{_includedir}/tcl-private
|
%configure --with-tcl=%{_libdir} --with-tk=%{_libdir} --enable-shared --with-tclinclude=%{_includedir}/tcl-private
|
||||||
make %{?_smp_mflags}
|
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
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install INSTALL_ROOT=%{buildroot}
|
make install INSTALL_ROOT=%{buildroot}
|
||||||
@ -140,6 +145,18 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/tknewsbiff.1*
|
%{_mandir}/man1/tknewsbiff.1*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Dec 3 2004 Jens Petersen <petersen@redhat.com> - 5.42.1-2
|
||||||
- fix "mkpasswd -v" failure when user not specified with
|
- fix "mkpasswd -v" failure when user not specified with
|
||||||
expect-5.42-mkpasswd-verbose-user-141454.patch (J F Wheeler, 141454)
|
expect-5.42-mkpasswd-verbose-user-141454.patch (J F Wheeler, 141454)
|
||||||
|
Loading…
Reference in New Issue
Block a user