2004-05-25 stephand in order to be able to use the same spec files both on SLES8 and SL 9.0, the macro %perl_process_packlist must be made available on SLES8: - copy the macro definition of %perl_process_packlist from a SL 9.0 file /usr/lib/rpm/suse_macros to the new file /usr/lib/rpm/sc_macros_sles8 - %perl_process_packlist depends on the macros %perl_vendorlib and %perl_vendorarch which are missing in SLES8. Copy them from a SL 9.0 file /usr/lib/rpm/macros to /usr/lib/rpm/sc_macros_sles8 on SLES8 - finally add /usr/lib/rpm/sc_macros_sles8 to the definition of macrofiles (search for the line beginning with "macrofiles:") in /usr/lib/rpm/rpmrc on SLES8 But this does not help us if we are using a chrooted build environment, because then /usr/lib/rpm/ all comes from the rpm rpm-package. Better approach is to create spec-files which determine the current OS and do the right things based on that. The macro %suse_version can be used for that. There exist macros called %ul_version and %sles_version but if we use them, we probably run into problems on norma SL systems.