From 57160504b0d00368759e26012c27a1f1f808bd3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 9 Apr 2023 19:15:49 +0200 Subject: [PATCH] RPM: update konversation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- .../internet/konversation/konversation.spec | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/redhat/applications/internet/konversation/konversation.spec b/redhat/applications/internet/konversation/konversation.spec index 6959305c1..f3675e735 100644 --- a/redhat/applications/internet/konversation/konversation.spec +++ b/redhat/applications/internet/konversation/konversation.spec @@ -75,22 +75,12 @@ BuildRequires: libidn-devel BuildRequires: openssl-devel # PYTHON support -%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9 -%define with_python 0 +%global python python3 %global __python %__python3 -%else -%define with_python 1 -%if 0%{?rhel} == 8 || 0%{?fedora} >= 31 || 0%{?suse_version} >= 1500 || 0%{?mgaversion} >= 8 -%global python python2 -%global __python %__python2 -%global python_sitearch %{python2_sitearch} -%else -%global python python -%endif -%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")} +%global python_sitearch %{python3_sitearch} +%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} BuildRequires: %{python} BuildRequires: %{python}-devel -%endif # SUSE desktop files utility %if 0%{?suse_version} @@ -280,6 +270,8 @@ export PATH="%{tde_bindir}:${PATH}" %{tde_datadir}/icons/crystalsvg/scalable/actions/konv_message.svgz %{tde_datadir}/icons/hicolor/*/apps/konversation.png %{tde_datadir}/icons/hicolor/scalable/apps/konversation.svgz +%{tde_mandir}/man1/konversation.1* +%{tde_mandir}/man1/konversationircprotocolhandler.1* %changelog