|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_major 1.7.1 |
|
|
|
|
%define V_minor 0 |
|
|
|
|
%define V_minor 1 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: socat |
|
|
|
@ -36,7 +36,7 @@ Class: BASE
|
|
|
|
|
Group: Network |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_major}.%{V_minor} |
|
|
|
|
Release: 20090403 |
|
|
|
|
Release: 20100106 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_readline yes |
|
|
|
@ -72,7 +72,7 @@ AutoReqProv: no
|
|
|
|
|
prog socat = { |
|
|
|
|
version = %{version} |
|
|
|
|
url = http://www.dest-unreach.org/socat/download/ |
|
|
|
|
regex = socat-(__VER__)\.tar\.bz2 |
|
|
|
|
regex = socat-(\d+\.\d+\.\d+(?:\.\d+))\.tar\.bz2 |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|