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/
This commit is contained in:
Carl George 2019-05-24 23:21:41 -05:00
parent ba0c17178d
commit 33ccb2feb7

View File

@ -14,8 +14,10 @@ Source0: https://github.com/tmux/%{name}/releases/download/%{version}/%{n
Source1: bash_completion_tmux.sh Source1: bash_completion_tmux.sh
BuildRequires: gcc BuildRequires: gcc
BuildRequires: ncurses-devel BuildRequires: pkgconfig(libevent)
BuildRequires: libevent-devel BuildRequires: pkgconfig(tinfo)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(ncursesw)
BuildRequires: libutempter-devel BuildRequires: libutempter-devel
%description %description