|
|
|
|
@ -35,12 +35,11 @@ Distribution: OpenPKG [CORE]
|
|
|
|
|
Group: Development |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_latest} |
|
|
|
|
Release: 20021018 |
|
|
|
|
Release: 20021020 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source1: ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{V_latest}.tar.gz |
|
|
|
|
Source0: ftp://ftp.gnu.org/gnu/autoconf/autoconf-%{V_old}.tar.gz |
|
|
|
|
Source2: http://www.gnu.org/software/ac-archive/Installed_Packages/acx_pthread.m4 |
|
|
|
|
Patch0: autoconf-%{V_old}.patch |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
@ -63,10 +62,6 @@ AutoReqProv: no
|
|
|
|
|
%setup1 -q -T -D -a 1 |
|
|
|
|
cd autoconf-%{V_old} |
|
|
|
|
%{l_patch} -p0 <%{SOURCE autoconf-%{V_old}.patch} |
|
|
|
|
( cd ../autoconf-%{V_latest}/lib/autoconf |
|
|
|
|
cp -rp %{SOURCE acx_pthread.m4} . |
|
|
|
|
%{l_shtool} subst -e 's;\(m4_include(\[autoconf\/oldnames\.m4\])\);\1\nm4_include([autoconf/acx_pthread.m4]);' autoconf.m4 |
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
( cd autoconf-%{V_old} |
|
|
|
|
@ -100,7 +95,6 @@ AutoReqProv: no
|
|
|
|
|
%{l_make} %{l_mflags} install \ |
|
|
|
|
prefix=$RPM_BUILD_ROOT%{l_prefix} |
|
|
|
|
) |
|
|
|
|
cp -rp %{SOURCE acx_pthread.m4} $RPM_BUILD_ROOT%{l_prefix}/share/autoconf/autoconf |
|
|
|
|
rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
|