- Ship a defaultspooler file to avoid the need for spooler auto-detection

(bug #454684).
This commit is contained in:
Tim Waugh 2008-07-10 11:55:09 +00:00
parent 93d3512242
commit 7eb2d3e050

View File

@ -219,6 +219,8 @@ ln -sf ../../../bin/foomatic-rip %{buildroot}/usr/lib/cups/filter/foomatic-rip
mkdir $RPM_BUILD_ROOT%{_datadir}/foomatic/db/source/PPD/Custom
mkdir -p $RPM_BUILD_ROOT%{_var}/cache/foomatic
echo cups > $RPM_BUILD_ROOT%{_sysconfdir}/foomatic/defaultspooler
# Remove things we don't ship.
rm -rf $RPM_BUILD_ROOT%{_libdir}/perl5/site_perl \
$RPM_BUILD_ROOT%{_libdir}/ppr \
@ -237,6 +239,7 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%doc --parents */README */USAGE */ChangeLog
%dir %{_sysconfdir}/foomatic
%config(noreplace) %{_sysconfdir}/foomatic/filter.conf
%config(noreplace) %{_sysconfdir}/foomatic/defaultspooler
%{_bindir}/*
%{_sbindir}/*
%{_prefix}/lib*/perl5/vendor_perl/*/Foomatic
@ -248,6 +251,10 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
%{_var}/cache/foomatic
%changelog
* Thu Jul 10 2008 Tim Waugh <twaugh@redhat.com>
- Ship a defaultspooler file to avoid the need for spooler
auto-detection (bug #454684).
* Thu May 8 2008 Tim Waugh <twaugh@redhat.com> 3.0.2-60
- Updated filters to 3.0-20080507.