Add missing BuildRequires: pkgconfig(systemd)

emacs-libdir-vs-systemd.patch relies on the systemd package config files being
in the buildroot, which stopped being the case in Fedora >= 37. Thus we need to
depend on systemd explicitly
This commit is contained in:
Dan Čermák 2022-12-01 15:34:43 +01:00
parent d21b022666
commit e6bb941875
No known key found for this signature in database
GPG Key ID: 8F8C178E966641D3

View File

@ -22,6 +22,8 @@ Source8: emacs-terminal.sh
# rhbz#713600 # rhbz#713600
Patch1: emacs-spellchecker.patch Patch1: emacs-spellchecker.patch
Patch2: emacs-system-crypto-policies.patch Patch2: emacs-system-crypto-policies.patch
# causes a dependency on pkgconfig(systemd)
# => remove it if we stop using this patch
Patch3: emacs-libdir-vs-systemd.patch Patch3: emacs-libdir-vs-systemd.patch
Patch4: emacs-pdmp-fingerprint.patch Patch4: emacs-pdmp-fingerprint.patch
Patch5: emacs-configure-c99-1.patch Patch5: emacs-configure-c99-1.patch
@ -80,6 +82,9 @@ BuildRequires: gnupg2
# For lucid # For lucid
BuildRequires: Xaw3d-devel BuildRequires: Xaw3d-devel
# for Patch3
BuildRequires: pkgconfig(systemd)
%ifarch %{ix86} %ifarch %{ix86}
BuildRequires: util-linux BuildRequires: util-linux
%endif %endif