- Removed use of printconf hooks.
- Don't restart CUPS on upgrade.
This commit is contained in:
parent
2f27b109d4
commit
a5a0251a48
@ -6,7 +6,7 @@
|
||||
Summary: Foomatic printer database.
|
||||
Name: foomatic
|
||||
Version: 3.0.2
|
||||
Release: 51%{?dist}
|
||||
Release: 52%{?dist}
|
||||
License: GPL
|
||||
Group: System Environment/Libraries
|
||||
|
||||
@ -66,9 +66,8 @@ BuildRequires: mpage
|
||||
Conflicts: ghostscript < 7.05
|
||||
Conflicts: hpijs < 1.5
|
||||
|
||||
# Some XM files have a <drivers> tag which confuses the older printconf
|
||||
# parser.
|
||||
Conflicts: system-config-printer < 0.6.139
|
||||
# We don't use the printconf hooks now, so require that they are gone.
|
||||
Conflicts: system-config-printer < 0.7.0
|
||||
|
||||
%description
|
||||
Foomatic is a comprehensive, spooler-independent database of printers,
|
||||
@ -228,19 +227,6 @@ find $RPM_BUILD_ROOT -name .packlist -o -name '*.xml.*' | xargs rm -f
|
||||
|
||||
%post
|
||||
/bin/rm -f /var/cache/foomatic/*
|
||||
|
||||
# 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
|
||||
fi
|
||||
if [ -x /usr/sbin/printconf-backend ] ; then
|
||||
/usr/sbin/printconf-backend --force-rebuild >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
# restart the print server if it is running now
|
||||
/sbin/service lpd condrestart >/dev/null 2>&1
|
||||
/sbin/service cups condrestart >/dev/null 2>&1
|
||||
|
||||
exit 0
|
||||
|
||||
%clean
|
||||
@ -262,6 +248,10 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
||||
%{_var}/cache/foomatic
|
||||
|
||||
%changelog
|
||||
* Fri Oct 12 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-52
|
||||
- Removed use of printconf hooks.
|
||||
- Don't restart CUPS on upgrade.
|
||||
|
||||
* Fri Sep 21 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-51
|
||||
- Build requires perl(ExtUtils::MakeMaker).
|
||||
- Updated filters to 3.0-20070919.
|
||||
|
Loading…
Reference in New Issue
Block a user