On Thu, Feb 6, 2020 at 7:54 AM Ritesh Chikatwar <rchik...@redhat.com> wrote:
>
> Hello,
>
>
> What is the best way to install dependencies require to build ovirt-engine. i 
> followed these steps.
> 1. make dist
> 2. rpmbuild -tb ovirt-engin....
>
> It requires few 
> dependencies(javapackages-local,ovirt-jboss-modules-maven-plugin..etc) i have 
> to install it manually one by one which are again for these.
>
> Is there any way i can do that in one shot..
>
> Any help will be appreciated :-)

You can get (mostly) a list of the dependencies by 'grep
^BuildRequires: ovirt-engine.spec.in'. I say "mostly" because this
does not parse the spec file, so you'll likely get stuff you don't
need. If you want something more accurate, but somewhat slower, you
can do what CI scripts do (check automation/*.sh) - something like:

make dist # Create tar file
rpmbuild -D "_srcrpmdir $PWD/output" -ts ./*.gz # Create SRPM
yum-builddep output/*src.rpm # Install build deps of the SRPM

Best regards,
-- 
Didi
_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/IV5KWTBVY24RCNTGRJRJRLA26F34DJF4/

Reply via email to