diff --git a/foomatic.spec b/foomatic.spec index 7f175fb..81dbb12 100644 --- a/foomatic.spec +++ b/foomatic.spec @@ -241,6 +241,10 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl \ find $RPM_BUILD_ROOT -name .packlist -o -name '*.xml.*' | xargs rm -f %post +if [ -d /var/cache/foomatic ] ; then + /bin/rm -rf /var/cache/foomatic +fi + # Try to rebuild the printconf data if [ -x /usr/share/printconf/util/updateconf.py ] ; then /usr/share/printconf/util/updateconf.py >/dev/null 2>&1 @@ -272,6 +276,9 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name} %{_mandir}/*/* %changelog +* Thu Mar 24 2005 Tim Waugh +- Add a hook to remove any foomatic data cached by system-config-printer. + * Thu Mar 10 2005 Tim Waugh 3.0.2-18 - Updated db to 20050310.