diff --git a/texi2html.spec b/texi2html.spec
index aaa2a44..3244bcc 100644
--- a/texi2html.spec
+++ b/texi2html.spec
@@ -1,6 +1,6 @@
Name: texi2html
Version: 1.82
-Release: 1%{?dist}
+Release: 2%{?dist}
# GPLv2+ is for the code
# OFSFDL (Old FSF Documentation License) for the documentation
# CC-BY-SA or GPLv2 for the images
@@ -13,7 +13,7 @@ Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
Requires: perl >= 5.004
Requires: latex2html
-BuildRequires: perl(Text::Unidecode)
+BuildRequires: perl(Text::Unidecode) latex2html tetex-tex4ht
# not detected automatically because it is required at runtime based on
# user configuration
Requires: perl(Text::Unidecode)
@@ -42,6 +42,8 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# config files, like htmlxref.cnf
mkdir -p $RPM_BUILD_ROOT%{_datadir}/texinfo $RPM_BUILD_ROOT%{_sysconfdir}/texinfo
+%check
+make check
%clean
rm -rf $RPM_BUILD_ROOT
@@ -72,6 +74,9 @@ fi
%dir %{_sysconfdir}/texinfo
%changelog
+* Fri Jan 9 2009 Jindrich Novy 1.82-2
+- run tests after build
+
* Fri Jan 9 2009 Jindrich Novy 1.82-1
- update to 1.82