error: Macro % has illegal name (%define) ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

If I try to run the following script on a Fedora 7 box with rpm version
4.4.2.1.

#!/bin/bash
cd ~/redhat/SPECS
BUILDOPTS_libsupertone='--define "_smp_mflags -j1"'
rpmbuild -ba --target=i386 libsupertone.spec ${BUILDOPTS_libsupertone}

I get this error:

error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
error: Macro % has illegal name (%define)
-j1": unknown option

Google gave no solution. Anyone know how I can make this work?

Thanks and regards,
Patrick

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux