diff --git a/.gitignore b/.gitignore
index 18dcbcd..90afe0c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ tmux-1.3.tar.gz
 /tmux-2.4.tar.gz
 /tmux-2.5.tar.gz
 /tmux-2.6.tar.gz
+/tmux-2.7.tar.gz
diff --git a/sources b/sources
index ebce1f7..de40509 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tmux-2.6.tar.gz) = 20a1ae8b8494c5b42757902322f3877731c2cc330c9c00f097a317785d25252b7ebaa8bbab9fc17843299e80cb2914aaac0a664715a85c50f7ea489d23753832
+SHA512 (tmux-2.7.tar.gz) = 7839ef748ea55df8c02c727047f65bd235b5e3b8ab23157246071e1b9954fa269594da9fbd0fabf6a850e3b5dfda962a0a067c1507411c92a84d1db2666ecf37
diff --git a/tmux.spec b/tmux.spec
index 5821621..cd2a9f8 100644
--- a/tmux.spec
+++ b/tmux.spec
@@ -1,8 +1,8 @@
 %global _hardened_build 1
 
 Name:           tmux
-Version:        2.6
-Release:        4%{?dist}
+Version:        2.7
+Release:        1%{?dist}
 Summary:        A terminal multiplexer
 
 Group:          Applications/System
@@ -14,10 +14,6 @@ Source0:        https://github.com/tmux/%{name}/releases/download/%{version}/%{n
 # Examples has been removed - so include the bash_completion here
 Source1:        bash_completion_tmux.sh
 
-Patch0:         tmux-2.6-fix-line-clear-utf8.patch
-Patch1:         tmux-2.6-fix-wide-chars.patch
-Patch2:         tmux-2.6-fix-utf8-char-handling.patch
-
 BuildRequires:  gcc
 BuildRequires:  ncurses-devel
 BuildRequires:  libevent-devel
@@ -34,11 +30,11 @@ as GNU Screen.
 
 %build
 %configure
-make %{?_smp_mflags}
+%make_build
 
 
 %install
-make install DESTDIR=%{buildroot} INSTALLBIN="install -p -m 755" INSTALLMAN="install -p -m 644"
+%make_install
 # bash completion
 install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/tmux
 
@@ -68,6 +64,10 @@ fi
 %{_datadir}/bash-completion/completions/tmux
 
 %changelog
+* Thu Apr 19 2018 Filipe Rosset <rosset.filipe@gmail.com> - 2.7-1
+- update to version 2.7, fixes rhbz #1486507
+- removed upstreamed patches + spec modernization
+
 * Mon Apr 09 2018 Filipe Rosset <rosset.filipe@gmail.com> - 2.6-4
 - added gcc as BR