Google
  Web www.spinics.net

rpmbuild issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Hello all,
I am using RedHat 6 Beta on intel 64bit system.


When I build my software with rpmbuild command, the rpms are not getting
generated in the directory specified in rpmmacros file(%_rpmdir)

This is what I am doing..
rpmbuild -bb -vv --buildroot <build root path> --target=x86_64 --rcfile 
/tmp/rpmrc /tmp/mySpecfile.spec

# cat /tmp/rpmrc
macrofiles: /tmp/rpmmacros

# cat /tmp/rpmmacros
%_arch {$ARCH}
%_builddir /home/manju/build/mysoftware/temp/install
%_buildshell /bin/sh
%_rpmdir /home/manju/build/mysoftware/dest/ix86_linux24/images/
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.{$ARCH}.rpm
%_tmppath /home/manju/build/mysoftware/install/tmp

So I expect the rpms to be present under the directory specified by %_rpmdir
but instead they are going to /root/rpmbuild/RPMS/x86_64 directory.How do I 
address this ? Anyone has faced the same problem. Is this a bug ?

Thanks and Regards,
manju



      

_______________________________________________
Redhat-install-list mailing list
Redhat-install-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
redhat-install-list-request@xxxxxxxxxx
Subject: unsubscribe


[Red Hat Kickstart]     [Fedora Users]     [Red Hat General]     [Red Hat Development]     [Samba]     [Kernel]     [Kernel Newbies]     [Hot Springs]     [Yosemite News]

Powered by Linux