Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Is there an enviroment variable that point to Source root tree ??
  • From: Petr Cerny <pcerny@xxxxxxx>
  • Date: Fri, 01 Feb 2008 17:58:43 +0100
  • Message-id: <47A34FC3.4010303@xxxxxxx>
Dirk Stoecker wrote:
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.

or %{S:n} which expands to %{SOURCEn} or for %{P:n} -> %{PATCHn}
which can also be seen from time to time.

Best regrds
Petr
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >