Skip to content

Commit

Permalink
spec: Use xorriso instead of genisoimage (#790)
Browse files Browse the repository at this point in the history
genisoimage is not present on RHEL 10 (and clones), making kcli not
installable on those.

Signed-off-by: Fabiano Fidêncio <[email protected]>
  • Loading branch information
fidencio authored and karmab committed Feb 27, 2025
1 parent 28ff8e5 commit cb43ed7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/copr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ mkdir -p $HOME/rpmbuild/{SOURCES,SRPMS}
mv /tmp/kcli.tar.gz $HOME/rpmbuild/SOURCES
export GIT_CUSTOM_VERSION=0.0.git.$(date "+%Y%m%d%H%M").$(git rev-parse --short HEAD)
export GIT_DIR_VCS=git+https://github.com/karmab/kcli#$(git rev-parse HEAD):
echo Using GIT_CUSTOM_VERSION $GIT_CUSTOM_VERSION
envsubst < kcli.spec > $HOME/rpmbuild/SOURCES/kcli.spec
git log -n 30 --format='* %ad %an <%ae> %n- %s' --date=format:"%a %b %d %Y" >> $HOME/rpmbuild/SOURCES/kcli.spec
cat $HOME/rpmbuild/SOURCES/kcli.spec

rpmbuild -bs $HOME/rpmbuild/SOURCES/kcli.spec
copr-cli build --nowait kcli $HOME/rpmbuild/SRPMS/*src.rpm
2 changes: 1 addition & 1 deletion kcli.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Source: kcli.tar.gz
AutoReq: no
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python3-devel rubygem-ronn gzip python3-setuptools git
Requires: python3 libvirt-python3 genisoimage nmap-ncat python3-prettytable python3-jinja2 python3-PyYAML python3-argcomplete
Requires: python3 libvirt-python3 xorriso nmap-ncat python3-prettytable python3-jinja2 python3-PyYAML python3-argcomplete

%description
Kcli is a wrapper for local/remote libvirt, kubevirt, vsphere, openstack, proxmox, ovirt, aws, azure, gcp, ibmcloud, packet and hcloud
Expand Down

0 comments on commit cb43ed7

Please sign in to comment.