summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKonstantin Pavlov <thresh@nginx.com>2022-12-14 11:52:58 -0800
committerKonstantin Pavlov <thresh@nginx.com>2022-12-14 11:52:58 -0800
commitcf3ffb8cf3621486afa3d6bf6b83f749352f2e13 (patch)
treef5241769014376222e418c521ebd1b2cc2b97329
parent4b39cb1fc75b42e944e41a522dbdf3d539eff8db (diff)
downloadunit-cf3ffb8cf3621486afa3d6bf6b83f749352f2e13.tar.gz
unit-cf3ffb8cf3621486afa3d6bf6b83f749352f2e13.tar.bz2
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.
-rw-r--r--pkg/rpm/unit.spec.in2
1 files changed, 1 insertions, 1 deletions
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}