Options (resulting in RPMS/xxx.i386.rpm): a) %define my_build_name_fmt xxx %define _build_name_fmt %{my_build_name_fmt}.%_arch.rpm b) %define _build_name_fmt xxx.%_arch.rpm c) rpmbuild -ba yyy.spec --define "_build_name_fmt xxx.%_arch.rpm" d) my_build_name_fmt=xxx rpmbuild -ba yyy.spec --define "_build_name_fmt $my_build_name_fmt.%_arch.rpm" etc. You just can0t have _build_name_fmt=$var and define var in a scriplet (%build, etc.). -- lfr 0/0
Attachment:
pgpR0tXTW9W7p.pgp
Description: PGP signature
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list