diff options
author | François Andriot <albator78@libertysurf.fr> | 2023-04-09 19:15:49 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2023-04-09 19:24:18 +0200 |
commit | 57160504b0d00368759e26012c27a1f1f808bd3b (patch) | |
tree | cec681f443a9cc547852bf62d834a516b2b25f4a | |
parent | 74a7efdc482e6ab9303674af9574da3e9bdcd537 (diff) | |
download | tde-packaging-57160504b0d00368759e26012c27a1f1f808bd3b.tar.gz tde-packaging-57160504b0d00368759e26012c27a1f1f808bd3b.zip |
RPM: update konversation
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r-- | redhat/applications/internet/konversation/konversation.spec | 18 |
1 files 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 |