From 33ccb2feb7c06593fa1f850fa51562bdd5d5e9b5 Mon Sep 17 00:00:00 2001 From: Carl George Date: May 25 2019 04:27:20 +0000 Subject: Switch some build requirements to pkgconfig format Upstream uses PKG_CHECK_MODULES to build against libevent, tinfo, ncurses, and ncursesw. Per the packaging guidelines, these build requirements should be expressed in the pkgconfig format, rather than by package name. https://docs.fedoraproject.org/en-US/packaging-guidelines/PkgConfigBuildRequires/ --- diff --git a/tmux.spec b/tmux.spec index 15b8c09..d61a48e 100644 --- a/tmux.spec +++ b/tmux.spec @@ -14,8 +14,10 @@ Source0: https://github.com/tmux/%{name}/releases/download/%{version}/%{n Source1: bash_completion_tmux.sh BuildRequires: gcc -BuildRequires: ncurses-devel -BuildRequires: libevent-devel +BuildRequires: pkgconfig(libevent) +BuildRequires: pkgconfig(tinfo) +BuildRequires: pkgconfig(ncurses) +BuildRequires: pkgconfig(ncursesw) BuildRequires: libutempter-devel %description