feat: update to snapshot

Quoting upstream:
"Your ncurses is too new or your tmux is too old, you need to downgrade
ncurses or upgrade tmux.  "

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2239333

Upstream issue: https://github.com/tmux/tmux/issues/3699
This commit is contained in:
Ankur Sinha (Ankur Sinha Gmail) 2023-09-18 11:39:01 +01:00
parent 3ae71b366d
commit 7259ca3361
No known key found for this signature in database
GPG Key ID: F8D8C0BEBAC898BD
3 changed files with 23 additions and 4 deletions

1
.gitignore vendored
View File

@ -22,3 +22,4 @@ tmux-1.3.tar.gz
/tmux-3.1c.tar.gz
/tmux-3.2a.tar.gz
/tmux-3.3a.tar.gz
/tmux-b202a2f1b517a3de7141fc35fbd9e39ed5ac5284.tar.gz

View File

@ -1 +1 @@
SHA512 (tmux-3.3a.tar.gz) = 29a846df7d93601c42a22f84f606931dc65da1f70b67d351d0425f77ea3affe3e8218b2940d42cd3dadf3cd1aa95032daad3ecb14fbff0f69939d1beae0498c7
SHA512 (tmux-b202a2f1b517a3de7141fc35fbd9e39ed5ac5284.tar.gz) = c198961cf5d5520810b235e7db5f4d7345d070e7003609c7efd4c104066b18eb783e91a9788dca69b0266b6998acf89f83f6eb46b9f333e56d688b099a9f9922

View File

@ -1,18 +1,26 @@
%global _hardened_build 1
Name: tmux
%global forgeurl https://github.com/tmux/%{name}
%global commit b202a2f1b517a3de7141fc35fbd9e39ed5ac5284
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%forgemeta
Version: 3.3a
Release: 4%{?dist}
# forge meta appends commit info
Release: 5%{?dist}
Summary: A terminal multiplexer
# Most of the source is ISC licensed; some of the files in compat/ are 2 and
# 3 clause BSD licensed.
License: ISC and BSD
URL: https://tmux.github.io/
Source0: https://github.com/tmux/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
Source0: %{forgesource}
# Examples has been removed - so include the bash_completion here
Source1: bash_completion_tmux.sh
BuildRequires: byacc
BuildRequires: gcc
BuildRequires: systemd-devel
BuildRequires: libutempter-devel
@ -21,6 +29,9 @@ BuildRequires: pkgconfig(libevent_core) >= 2
BuildRequires: pkgconfig(tinfo)
BuildRequires: pkgconfig(ncurses)
BuildRequires: pkgconfig(ncursesw)
%if "%0{?commit}" != "0"
BuildRequires: automake
%endif
%description
tmux is a "terminal multiplexer." It enables a number of terminals (or
@ -29,9 +40,12 @@ intended to be a simple, modern, BSD-licensed alternative to programs such
as GNU Screen.
%prep
%autosetup
%forgesetup
%build
%if "%0{?commit}" != "0"
sh ./autogen.sh
%endif
%configure --enable-systemd
%make_build
@ -68,6 +82,10 @@ fi
%{_datadir}/bash-completion/completions/tmux
%changelog
* Mon Sep 18 2023 Ankur Sinha <ankursinha AT fedoraproject DOT org> - 3.3a-5.20230918gitb202a2f
- update to snapshot
- https://github.com/tmux/tmux/issues/3699#issuecomment-1723095544
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3a-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild