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.
This commit is contained in:
Konstantin Pavlov
2022-12-14 11:52:58 -08:00
parent 4b39cb1fc7
commit cf3ffb8cf3

View File

@@ -46,7 +46,7 @@ Requires(preun): systemd
Requires(postun): systemd
BuildRequires: pcre2-devel
BuildRequires: pkg-config
BuildRequires: pkgconfig
Provides: unit-r%{version}