diff --git a/texi2html.spec b/texi2html.spec
index 6f023b1..e700ae5 100644
--- a/texi2html.spec
+++ b/texi2html.spec
@@ -26,8 +26,21 @@ output not specified in the Texinfo input file to be specified.
install -m 644 %{SOURCE1} i18n/ja
%build
-./autogen.sh
-%configure
+./configure --program-prefix=%{?_program_prefix} \
+ --prefix=%{_prefix} \
+ --exec-prefix=%{_exec_prefix} \
+ --bindir=%{_bindir} \
+ --sbindir=%{_sbindir} \
+ --sysconfdir=%{_sysconfdir} \
+ --datadir=%{_datadir} \
+ --includedir=%{_includedir} \
+ --libdir=%{_libdir} \
+ --libexecdir=%{_libexecdir} \
+ --localstatedir=%{_localstatedir} \
+ --sharedstatedir=%{_sharedstatedir} \
+ --mandir=%{_mandir} \
+ --infodir=%{_infodir}
+
make clean
make %{?_smp_mflags}
@@ -64,8 +77,9 @@ fi
%{_datadir}/%{name}/images/*
%changelog
-* Tue Feb 22 2005 Jindrich Novy 1.76-2
-- reintroduce autogen.sh
+* Tue Mar 08 2005 Jindrich Novy 1.76-2
+- replace %configure with ./configure to prevent definition of
+ target, build and host for noarch package
* Fri Feb 18 2005 Jindrich Novy 1.76-1
- we have separate texi2html package now (#121889)