RPM: update konversation

Signed-off-by: François Andriot <albator78@libertysurf.fr>
pull/219/head
François Andriot 1 year ago
parent 74a7efdc48
commit 57160504b0

@ -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

Loading…
Cancel
Save