James Olin Oden wrote:
Or just invoke rpmbuild with --define _rpmdir
<you_dir>,
So rpm will be created where you want have it.
Of course a much better solution (-; Actually, it still does the
%ARCH/..., so if taking this approach, redefining %_build_name_fmt is
probably helpful also. That way the naming and location are totally
in your control.
Cheers...james
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list
I think that I'm doing something wrong:
I'm running:
rpmbuild --define "_rmpdir /tmp" -bb native.spec
This is what I get:
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.22403
+ umask 022
+ cd /usr/src/packages/BUILD
+ FILE_LIST=/var/tmp/native-binary-file-list
++ uname -r
+ KERNEL=2.6.5-7.139-smp
+ cat
+ exit 0
Processing files: native-v0.1-b435
Finding Provides: /usr/lib/rpm/find-provides
Finding Requires: /usr/lib/rpm/find-requires
Provides: my package
Requires(rpmlib): rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
Requires: /bin/bash /bin/sh
Checking for unpackaged file(s): /usr/lib/rpm/check-files %{buildroot}
Wrote: /usr/src/packages/RPMS/i586/native-v0.1-b435.i586.rpm
It's still writing the binary rpm to /usr/src/packages/RPMS/i586/...
The /tmp dir doesn't contain the rpm.
Thanks
--
____________________________________________________________
Erez Zilber | 972-9-971-7689
Software Engineer, Storage Team
Voltaire – _The Grid Backbone_
__
www.voltaire.com <http://www.voltaire.com/>
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list