+++ /dev/null
-diff -urN polybar.orig/lib/xpp/CMakeLists.txt polybar/lib/xpp/CMakeLists.txt
---- polybar.orig/lib/xpp/CMakeLists.txt 2019-12-27 15:16:12.000000000 +0100
-+++ polybar/lib/xpp/CMakeLists.txt 2020-04-07 01:47:29.960140194 +0200
-@@ -48,7 +48,7 @@
- #
- # Loop through a hardcoded list of python executables to locate the python module "xcbgen"
- #
--foreach(CURRENT_EXECUTABLE python python3 python2 python2.7)
-+foreach(CURRENT_EXECUTABLE python3)
- message(STATUS "Searching for xcbgen with " ${CURRENT_EXECUTABLE})
-
- execute_process(COMMAND "${CURRENT_EXECUTABLE}" "-c"
Summary: Fast and easy-to-use status bar
Name: polybar
-Version: 3.4.3
-Release: 2
+Version: 3.5.0
+Release: 1
License: MIT, BSD
Group: X11/Window Managers
Source0: https://github.com/polybar/polybar/releases/download/%{version}/%{name}-%{version}.tar
-# Source0-md5: a5db8e1946f72d80b7ae45776c59b6a4
-Patch0: %{name}-consistent_python.patch
+# Source0-md5: f6fda7f3b2063d72a10b69b9e57a701d
URL: https://polybar.github.io/
BuildRequires: alsa-lib-devel
BuildRequires: cairo-devel
%prep
%setup -q -n %{name}
-%patch0 -p1
%build
install -d build
%attr(755,root,root) %{_bindir}/polybar
%attr(755,root,root) %{_bindir}/polybar-msg
%{_mandir}/man1/polybar.1*
+%{_mandir}/man5/polybar.5*
%files -n bash-completion-polybar
%defattr(644,root,root,755)