On Fri, 1 Feb 2008, G. Massera wrote:
Dirk Stoecker ha scritto:
Hello,
Hello, on opensuse the source tree is /usr/src/packages/SOURCE on mandriva /usr/src/rpm/SOURCE on Fedora /usr/src/redhat/SOURCE ... :-S is there an enviroment variable like $BUILD_ROOT ... (i.e. $SOURCE_ROOT) that point to source tree ??
There is, but usually you want %{SOURCE0}, %{SOURCE1}, ...to access the source files directly.
Ciao How can I know which file is SOURCE0 and SOURCE1 ??? How they are expanded ??
You specify it at the top of the spec file already: Source: file is %{SOURCE) Source1: file is %(SOURCE1} Source1000: file is %{SOURCE1000} Pretty easy. Ciao -- http://www.dstoecker.eu/ (PGP key available) --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org