@@ -168,3 +168,13 @@ AutoReqProv: no
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+ # update TeX hashes
+ $RPM_INSTALL_PREFIX/bin/texhash >/dev/null 2>&1 || true
+ exit 0
+
+%postun