Mailinglist Archive: opensuse-buildservice (148 mails)

< Previous Next >
[opensuse-buildservice] %{buildroot} not expanded in SLES10 and SLES11
  • From: Luiz Antonio Maldonado Marthos <lamaldonado@xxxxxxxxx>
  • Date: Fri, 21 Jan 2011 10:47:52 -0200
  • Message-id: <AANLkTimjiFdKn8t0eRM-7CFo21FQ_jKs_2bz4J+=e2fV@mail.gmail.com>
Hello,

I'm trying to make a rpm file and the macro %{buildroot} doesn't expand.
I used the eval parameter on the rpm command like this:
rpm --define "_topdir %{_tmppath}/libmylib" --eval %{buildroot}
And I get in response only %{buildroot}
On my spec file, the BuildRoot is set to
%{_tmppath}/%{name}-%{version}-%{release}

I use this same command on others distros, like mandriva, and I get
the macro expanded.

Any ideas what is going on?
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
This Thread