[PATCH 0/3] Drop unnecessary build dependencies

Andrea Bolognani via Devel posted 3 patches 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20250605164043.66148-1-abologna@redhat.com
ci/buildenv/almalinux-9.sh                     |  9 ---------
ci/buildenv/alpine-321.sh                      |  6 ------
ci/buildenv/alpine-edge.sh                     |  6 ------
ci/buildenv/centos-stream-9.sh                 |  9 ---------
ci/buildenv/debian-12-cross-aarch64.sh         |  8 --------
ci/buildenv/debian-12-cross-armv6l.sh          |  8 --------
ci/buildenv/debian-12-cross-armv7l.sh          |  8 --------
ci/buildenv/debian-12-cross-i686.sh            |  8 --------
ci/buildenv/debian-12-cross-mips64el.sh        |  8 --------
ci/buildenv/debian-12-cross-mipsel.sh          |  8 --------
ci/buildenv/debian-12-cross-ppc64le.sh         |  8 --------
ci/buildenv/debian-12-cross-s390x.sh           |  8 --------
ci/buildenv/debian-12.sh                       |  8 --------
ci/buildenv/debian-sid-cross-aarch64.sh        |  8 --------
ci/buildenv/debian-sid-cross-armv6l.sh         |  8 --------
ci/buildenv/debian-sid-cross-armv7l.sh         |  8 --------
ci/buildenv/debian-sid-cross-i686.sh           |  8 --------
ci/buildenv/debian-sid-cross-mips64el.sh       |  8 --------
ci/buildenv/debian-sid-cross-ppc64le.sh        |  8 --------
ci/buildenv/debian-sid-cross-s390x.sh          |  8 --------
ci/buildenv/debian-sid.sh                      |  8 --------
ci/buildenv/fedora-41.sh                       |  9 ---------
ci/buildenv/fedora-42-cross-mingw32.sh         |  9 ---------
ci/buildenv/fedora-42-cross-mingw64.sh         |  9 ---------
ci/buildenv/fedora-42.sh                       |  9 ---------
ci/buildenv/fedora-rawhide-cross-mingw32.sh    |  9 ---------
ci/buildenv/fedora-rawhide-cross-mingw64.sh    |  9 ---------
ci/buildenv/fedora-rawhide.sh                  |  9 ---------
ci/buildenv/opensuse-leap-15.sh                |  8 --------
ci/buildenv/opensuse-tumbleweed.sh             |  8 --------
ci/buildenv/ubuntu-2204.sh                     |  8 --------
ci/buildenv/ubuntu-2404.sh                     |  8 --------
ci/cirrus/freebsd-13.vars                      |  2 +-
ci/cirrus/freebsd-14.vars                      |  2 +-
ci/containers/almalinux-9.Dockerfile           |  9 ---------
ci/containers/alpine-321.Dockerfile            |  6 ------
ci/containers/alpine-edge.Dockerfile           |  6 ------
ci/containers/centos-stream-9.Dockerfile       |  9 ---------
.../debian-12-cross-aarch64.Dockerfile         |  8 --------
.../debian-12-cross-armv6l.Dockerfile          |  8 --------
.../debian-12-cross-armv7l.Dockerfile          |  8 --------
ci/containers/debian-12-cross-i686.Dockerfile  |  8 --------
.../debian-12-cross-mips64el.Dockerfile        |  8 --------
.../debian-12-cross-mipsel.Dockerfile          |  8 --------
.../debian-12-cross-ppc64le.Dockerfile         |  8 --------
ci/containers/debian-12-cross-s390x.Dockerfile |  8 --------
ci/containers/debian-12.Dockerfile             |  8 --------
.../debian-sid-cross-aarch64.Dockerfile        |  8 --------
.../debian-sid-cross-armv6l.Dockerfile         |  8 --------
.../debian-sid-cross-armv7l.Dockerfile         |  8 --------
ci/containers/debian-sid-cross-i686.Dockerfile |  8 --------
.../debian-sid-cross-mips64el.Dockerfile       |  8 --------
.../debian-sid-cross-ppc64le.Dockerfile        |  8 --------
.../debian-sid-cross-s390x.Dockerfile          |  8 --------
ci/containers/debian-sid.Dockerfile            |  8 --------
ci/containers/fedora-41.Dockerfile             |  9 ---------
.../fedora-42-cross-mingw32.Dockerfile         |  9 ---------
.../fedora-42-cross-mingw64.Dockerfile         |  9 ---------
ci/containers/fedora-42.Dockerfile             |  9 ---------
.../fedora-rawhide-cross-mingw32.Dockerfile    |  9 ---------
.../fedora-rawhide-cross-mingw64.Dockerfile    |  9 ---------
ci/containers/fedora-rawhide.Dockerfile        |  9 ---------
ci/containers/opensuse-leap-15.Dockerfile      |  8 --------
ci/containers/opensuse-tumbleweed.Dockerfile   |  8 --------
ci/containers/ubuntu-2204.Dockerfile           |  8 --------
ci/containers/ubuntu-2404.Dockerfile           |  8 --------
ci/lcitool/projects/libvirt.yml                |  9 ---------
libvirt.spec.in                                | 18 +++---------------
68 files changed, 5 insertions(+), 548 deletions(-)
[PATCH 0/3] Drop unnecessary build dependencies
Posted by Andrea Bolognani via Devel 3 months ago
We've recently stopped checking for the presence of several
commands at build time. That means we don't need them in the
RPM or CI build environment either.

Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/1855622714

Andrea Bolognani (3):
  rpm: Fix/clarify Requires
  rpm: Drop unnecessary BuildRequires
  ci: Drop unnecessary build dependencies

 ci/buildenv/almalinux-9.sh                     |  9 ---------
 ci/buildenv/alpine-321.sh                      |  6 ------
 ci/buildenv/alpine-edge.sh                     |  6 ------
 ci/buildenv/centos-stream-9.sh                 |  9 ---------
 ci/buildenv/debian-12-cross-aarch64.sh         |  8 --------
 ci/buildenv/debian-12-cross-armv6l.sh          |  8 --------
 ci/buildenv/debian-12-cross-armv7l.sh          |  8 --------
 ci/buildenv/debian-12-cross-i686.sh            |  8 --------
 ci/buildenv/debian-12-cross-mips64el.sh        |  8 --------
 ci/buildenv/debian-12-cross-mipsel.sh          |  8 --------
 ci/buildenv/debian-12-cross-ppc64le.sh         |  8 --------
 ci/buildenv/debian-12-cross-s390x.sh           |  8 --------
 ci/buildenv/debian-12.sh                       |  8 --------
 ci/buildenv/debian-sid-cross-aarch64.sh        |  8 --------
 ci/buildenv/debian-sid-cross-armv6l.sh         |  8 --------
 ci/buildenv/debian-sid-cross-armv7l.sh         |  8 --------
 ci/buildenv/debian-sid-cross-i686.sh           |  8 --------
 ci/buildenv/debian-sid-cross-mips64el.sh       |  8 --------
 ci/buildenv/debian-sid-cross-ppc64le.sh        |  8 --------
 ci/buildenv/debian-sid-cross-s390x.sh          |  8 --------
 ci/buildenv/debian-sid.sh                      |  8 --------
 ci/buildenv/fedora-41.sh                       |  9 ---------
 ci/buildenv/fedora-42-cross-mingw32.sh         |  9 ---------
 ci/buildenv/fedora-42-cross-mingw64.sh         |  9 ---------
 ci/buildenv/fedora-42.sh                       |  9 ---------
 ci/buildenv/fedora-rawhide-cross-mingw32.sh    |  9 ---------
 ci/buildenv/fedora-rawhide-cross-mingw64.sh    |  9 ---------
 ci/buildenv/fedora-rawhide.sh                  |  9 ---------
 ci/buildenv/opensuse-leap-15.sh                |  8 --------
 ci/buildenv/opensuse-tumbleweed.sh             |  8 --------
 ci/buildenv/ubuntu-2204.sh                     |  8 --------
 ci/buildenv/ubuntu-2404.sh                     |  8 --------
 ci/cirrus/freebsd-13.vars                      |  2 +-
 ci/cirrus/freebsd-14.vars                      |  2 +-
 ci/containers/almalinux-9.Dockerfile           |  9 ---------
 ci/containers/alpine-321.Dockerfile            |  6 ------
 ci/containers/alpine-edge.Dockerfile           |  6 ------
 ci/containers/centos-stream-9.Dockerfile       |  9 ---------
 .../debian-12-cross-aarch64.Dockerfile         |  8 --------
 .../debian-12-cross-armv6l.Dockerfile          |  8 --------
 .../debian-12-cross-armv7l.Dockerfile          |  8 --------
 ci/containers/debian-12-cross-i686.Dockerfile  |  8 --------
 .../debian-12-cross-mips64el.Dockerfile        |  8 --------
 .../debian-12-cross-mipsel.Dockerfile          |  8 --------
 .../debian-12-cross-ppc64le.Dockerfile         |  8 --------
 ci/containers/debian-12-cross-s390x.Dockerfile |  8 --------
 ci/containers/debian-12.Dockerfile             |  8 --------
 .../debian-sid-cross-aarch64.Dockerfile        |  8 --------
 .../debian-sid-cross-armv6l.Dockerfile         |  8 --------
 .../debian-sid-cross-armv7l.Dockerfile         |  8 --------
 ci/containers/debian-sid-cross-i686.Dockerfile |  8 --------
 .../debian-sid-cross-mips64el.Dockerfile       |  8 --------
 .../debian-sid-cross-ppc64le.Dockerfile        |  8 --------
 .../debian-sid-cross-s390x.Dockerfile          |  8 --------
 ci/containers/debian-sid.Dockerfile            |  8 --------
 ci/containers/fedora-41.Dockerfile             |  9 ---------
 .../fedora-42-cross-mingw32.Dockerfile         |  9 ---------
 .../fedora-42-cross-mingw64.Dockerfile         |  9 ---------
 ci/containers/fedora-42.Dockerfile             |  9 ---------
 .../fedora-rawhide-cross-mingw32.Dockerfile    |  9 ---------
 .../fedora-rawhide-cross-mingw64.Dockerfile    |  9 ---------
 ci/containers/fedora-rawhide.Dockerfile        |  9 ---------
 ci/containers/opensuse-leap-15.Dockerfile      |  8 --------
 ci/containers/opensuse-tumbleweed.Dockerfile   |  8 --------
 ci/containers/ubuntu-2204.Dockerfile           |  8 --------
 ci/containers/ubuntu-2404.Dockerfile           |  8 --------
 ci/lcitool/projects/libvirt.yml                |  9 ---------
 libvirt.spec.in                                | 18 +++---------------
 68 files changed, 5 insertions(+), 548 deletions(-)

-- 
2.49.0
Re: [PATCH 0/3] Drop unnecessary build dependencies
Posted by Michal Prívozník via Devel 3 months ago
On 6/5/25 18:40, Andrea Bolognani via Devel wrote:
> We've recently stopped checking for the presence of several
> commands at build time. That means we don't need them in the
> RPM or CI build environment either.
> 
> Test pipeline: https://gitlab.com/abologna/libvirt/-/pipelines/1855622714
> 
> Andrea Bolognani (3):
>   rpm: Fix/clarify Requires
>   rpm: Drop unnecessary BuildRequires
>   ci: Drop unnecessary build dependencies
> 

>  68 files changed, 5 insertions(+), 548 deletions(-)
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal