diff --git a/socat.spec b/socat.spec index f7a935b..6cd6464 100644 --- a/socat.spec +++ b/socat.spec @@ -11,9 +11,8 @@ Group: Applications/Internet BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: openssl-devel readline-devel ncurses-devel BuildRequires: autoconf kernel-headers > 2.6.18 -BuildRequires: iproute net-tools -Patch1: socat-1.7.2.1-procan-cdefs.patch -Patch2: socat-1.7.2.1-errqueue.patch +# for make test +BuildRequires: iproute net-tools coreutils procps-ng openssl iputils %description Socat is a relay for bidirectional data transfer between two independent data @@ -48,6 +47,9 @@ install -d %{buildroot}/%{_docdir}/socat install -m 0644 *.sh %{buildroot}/%{_docdir}/socat/ %check +export TERM=ansi +export OD_C=/usr/bin/od +./socat -t 0.1 -u exec:./procan - make test %files