Patrick
2007-10-24 18:43:12 UTC
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
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