Merge #3 tests: Install build dependencies before using rpm-build
This commit is contained in:
commit
4e22ac5d98
@ -10,6 +10,7 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- koji
|
- koji
|
||||||
- rpm-build
|
- rpm-build
|
||||||
|
- dnf-plugins-core
|
||||||
|
|
||||||
- name: provision VM
|
- name: provision VM
|
||||||
qemu_provision:
|
qemu_provision:
|
||||||
@ -40,6 +41,9 @@
|
|||||||
- set_fact:
|
- set_fact:
|
||||||
srpmpath: "{{tmpd.path}}/{{srpm.stdout}}"
|
srpmpath: "{{tmpd.path}}/{{srpm.stdout}}"
|
||||||
|
|
||||||
|
- name: install build dependencies
|
||||||
|
command: dnf builddep -y {{srpmpath}}
|
||||||
|
|
||||||
- name: extract source rpm
|
- name: extract source rpm
|
||||||
command: >
|
command: >
|
||||||
rpmbuild --define "_srcrpmdir {{tmpd.path}}"
|
rpmbuild --define "_srcrpmdir {{tmpd.path}}"
|
||||||
|
Loading…
Reference in New Issue
Block a user