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

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



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


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