[Cooker] printer-drivers-1.0-34mdk.src.rpm spec broke?

2002-01-27 Thread Roger

/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


[Cooker] printer-drivers-1.0-34mdk.src.rpm spec broke? --additional

2002-01-27 Thread Roger

Plus, had to add my arch to the Buildarch lines (of the spec file) to
build for other then a i586. ui:

BuildArchitectures: i686 i586 ia64 ppc alpha

I already tried sending the spec file via attachement but sympa chokes
on anything larger then 100kb :-0




signature.asc
Description: This is a digitally signed message part