This is a shell script which uses envvar's. rpmbuild is a program using macros.
You are attempting to impedance match the two name spaces by expanding
macros in a *.spec.
You might make more progress if you write an import (macros -> envvar)
and the equivalent export (envvar -> macros) for whatever configuration
you wish to use.
If the chosen path values are clearly/cleanly mapped, then it doesn't matter
how the *.spec uses macros conventionally, or whether wget in shell instead
of rpmbuild fetches files.
And a clean mapping is easier to debug than reading increasingly complex scripts
and templates and configuration driving a build process.
Re: http:// powerplant. yoper-linux. org/projects/ software- packages/ repository/ entry/rocketfue l/rrebuild/ rrebuild. sh
This is a shell script which uses envvar's. rpmbuild is a program using macros.
You are attempting to impedance match the two name spaces by expanding
macros in a *.spec.
You might make more progress if you write an import (macros -> envvar)
and the equivalent export (envvar -> macros) for whatever configuration
you wish to use.
If the chosen path values are clearly/cleanly mapped, then it doesn't matter
how the *.spec uses macros conventionally, or whether wget in shell instead
of rpmbuild fetches files.
And a clean mapping is easier to debug than reading increasingly complex scripts
and templates and configuration driving a build process.