parent
c6ea7ee09f
commit
af9e719ddd
@ -102,12 +102,17 @@ popd
|
|||||||
pushd foomatic-db-%{dbver}
|
pushd foomatic-db-%{dbver}
|
||||||
%patch7 -p1 -b .ppdload-ppd
|
%patch7 -p1 -b .ppdload-ppd
|
||||||
|
|
||||||
|
cd db/source
|
||||||
|
|
||||||
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
# For gutenprint printers, use gutenprint-ijs-simplified.5.0.
|
||||||
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
perl -pi -e 's,>gutenprint<,>gutenprint-ijs-simplified.5.0<,' printer/*.xml
|
||||||
|
|
||||||
# Remove references to foo2zjs and foo2oak (bug #208851).
|
# Remove references to foo2zjs, foo2oak and foo2hp (bug #208851).
|
||||||
find printer -name '*.xml' |xargs grep -l '<driver>foo2'|xargs rm -f
|
for x in zjs oak hp
|
||||||
rm -f driver/foo2zjs.xml driver/foo2oak.xml opt/foo2zjs-* opt/foo2oak-*
|
do
|
||||||
|
find printer -name '*.xml' |xargs grep -l "<driver>foo2${x}"|xargs rm -f
|
||||||
|
rm -f driver/foo2${x}.xml opt/foo2${x}-*
|
||||||
|
done
|
||||||
# Same for m2300w/m2400w
|
# Same for m2300w/m2400w
|
||||||
find printer -name '*.xml' |xargs grep -l '<driver>m2[34]00w<'|xargs rm -f
|
find printer -name '*.xml' |xargs grep -l '<driver>m2[34]00w<'|xargs rm -f
|
||||||
rm -f driver/m2300w.xml driver/m2400w.xml opt/m2300w-*
|
rm -f driver/m2300w.xml driver/m2400w.xml opt/m2300w-*
|
||||||
@ -242,6 +247,7 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Apr 16 2007 Tim Waugh <twaugh@redhat.com>
|
* Mon Apr 16 2007 Tim Waugh <twaugh@redhat.com>
|
||||||
|
- Fixed %%prep (bug #208851).
|
||||||
- Removed now-unused with_omni code.
|
- Removed now-unused with_omni code.
|
||||||
|
|
||||||
* Fri Mar 30 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-46
|
* Fri Mar 30 2007 Tim Waugh <twaugh@redhat.com> 3.0.2-46
|
||||||
|
Loading…
Reference in New Issue
Block a user