diff options
author | Konstantin Pavlov <thresh@nginx.com> | 2022-12-14 11:52:58 -0800 |
---|---|---|
committer | Konstantin Pavlov <thresh@nginx.com> | 2022-12-14 11:52:58 -0800 |
commit | cf3ffb8cf3621486afa3d6bf6b83f749352f2e13 (patch) | |
tree | f5241769014376222e418c521ebd1b2cc2b97329 /pkg/rpm | |
parent | 4b39cb1fc75b42e944e41a522dbdf3d539eff8db (diff) | |
download | unit-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.
Diffstat (limited to 'pkg/rpm')
-rw-r--r-- | pkg/rpm/unit.spec.in | 2 |
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} |