[ATrpms-devel] ivtools for ATrpms

Axel Thimm Axel.Thimm at ATrpms.net
Wed Jan 12 09:25:50 CET 2011


On Tue, 2011-01-11 at 17:25 -0200, Paulo Cavalcanti wrote:
> This new version should built in ATrpms. This package has the most
> complicated configuration scheme
> I have ever seen, and I hope you do  not mind using only one dirt
> trick, which does not affect anything ...

It would be nicer to understand why the buildroot gets stamped into the
binary and take care of it at the build level, but let's push it that
way. It still fails on i386 due to

%ifarch %{ix86}
pushd %{_builddir}/../BUILDROOT/
mv %{name}-%{version}-%{release}.1 %{name}-%{version}-%{release}.i386
popd
%endif

You cannot know what the %{buildroot} is, this package is tailored to
only work in mock, and even there if the variables change the build
breaks. The other fix before is also prone to buildsystem setup, e.g.
what if a buildsystem uses a buildroot like a plain
/var/tmp/build-<random> string?
-- 
http://thimm.gr/ - http://ATrpms.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.atrpms.net/pipermail/atrpms-devel/attachments/20110112/7d4e6836/attachment-0001.sig>


More information about the atrpms-devel mailing list