/usr/src/RPM/SPECS/printer-drivers.spec
Line# 1370,1
SHOULD READ:
---NEW-EDITED-TO-WORK-
# Put GIMP-Print data also into the main copy of the database
# Roger -- pwd shows that we are in:
/usr/src/RPM/BUILD/printer-drivers-1.0/foomatic
# Roger -- the following were looking at an incorrect source folder.
cp ../print-%{gimpprintver}/src/foomatic/foomatic-db/opt/gimp-print*.xml
db/source/opt/
cp -ax ./foomatic-db-precompile/db/source/printer db/source/
# Due to Omni being in experimental state, the Foomatic data for Omni
will
# be shipped with the Omni package and (un)installed with the post/preun
# scripts of Omni
# Put OMNI data into the main copy of the database
#( cd ../ghostscript-%{ghostscriptver}/src/Omni/Foomatic/foomatic-db;
tar -cf - * ) | ( tar -xkf - 2 /dev/null ) || :
# Put the printer entries with default drivers into the main database
# Roger -- again incorrect source dir
# the following location will also overwrite some present files also
# since i'm not a native to this package, dunno.
cp -axf ./foomatic-db-precompile/db/source/printer db/source/
END---
WAS:
Original
# Put GIMP-Print data also into the main copy of the database
cp foomatic-db-precompile/db/source/driver/gimp-print*.xml
db/source/driver/
cp foomatic-db-precompile/db/source/opt/gimp-print*.xml db/source/opt/
(Would get a foomatic-db-precompile/db/source/driver/gimp-print*.xml
not found error with the original/un-modified spec file.)
# Due to Omni being in experimental state, the Foomatic data for Omni
will
# be shipped with the Omni package and (un)installed with the post/preun
# scripts of Omni
# Put OMNI data into the main copy of the database
#( cd ../ghostscript-%{ghostscriptver}/src/Omni/Foomatic/foomatic-db;
tar -cf - * ) | ( tar -xkf - 2 /dev/null ) || :
# Put the printer entries with default drivers into the main database
cp -ax ./foomatic/foomatic-db-precompile/db/source/printer db/source
END---
Something isn't right with the folder path.
-Roger
-
Verify my pgp/gnupg signature on my HomePage:
http://www.alltel.net/~rogerx/about/index.html
signature.asc
Description: This is a digitally signed message part