Note that the vendor tarball filename is updated to reflect the upstream
naming convention in rpm/libblkio.spec.
Resolves: RHEL-32878
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
I forgot to add BuildRequires: git-core for %autosetup -Sgit. It
happened to build successfully anyway in c9s but failed downstream in
RHEL. Drop the -Sgit option for now because I don't use this feature
anyway.
related: rhbz#2166106
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This rpm spec file is based off Fedora's libblkio 1.2.2 spec file.
CentOS Stream requires vendored crate dependencies, so it was necessary
modify the spec file to use that approach instead of declaring build
dependencies.
The libblkio-vendor-v1.2.2.tar.bz2 file was generated by running cargo
vendor in the libblkio-v1.2.2 source tree and packaging up the vendor/
directory and .cargo/config.toml.
resolves: rhbz#2166106
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>