Skip to content

Commit cf3ffb8

Browse files
committed
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.
1 parent 4b39cb1 commit cf3ffb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/rpm/unit.spec.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Requires(preun): systemd
4646
Requires(postun): systemd
4747

4848
BuildRequires: pcre2-devel
49-
BuildRequires: pkg-config
49+
BuildRequires: pkgconfig
5050

5151
Provides: unit-r%{version}
5252

0 commit comments

Comments
 (0)