From cf3ffb8cf3621486afa3d6bf6b83f749352f2e13 Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov Date: Wed, 14 Dec 2022 11:52:58 -0800 Subject: Packages: Used a more common name for pkg-config. pkg-config package is named differently on supported rpm-based systems: - Amazon Linux 2 has pkgconfig - Fedora has pkgconf-pkg-config - RHEL 7 has pkgconfig - RHEL 8 and 9 have pkgconfig-pkg-config What they share in common is they all provide 'pkgconfig', which we can use in the spec file so we don't have to specify it per-OS. --- pkg/rpm/unit.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rpm/unit.spec.in b/pkg/rpm/unit.spec.in index fddabb69..06880fcf 100644 --- a/pkg/rpm/unit.spec.in +++ b/pkg/rpm/unit.spec.in @@ -46,7 +46,7 @@ Requires(preun): systemd Requires(postun): systemd BuildRequires: pcre2-devel -BuildRequires: pkg-config +BuildRequires: pkgconfig Provides: unit-r%{version} -- cgit