summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2023-04-09 19:17:47 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2023-04-09 19:24:19 +0200
commit84bf1936521a662e204c49afaa167ddb0960e08b (patch)
tree99ac4f0cef5c03c0bf05aa2925eca24d9b8258cd
parent54a521090863b9245fc773f11ae6d6cc65110802 (diff)
downloadtde-packaging-84bf1936.tar.gz
tde-packaging-84bf1936.zip
RPM: update tdeutils
Signed-off-by: François Andriot <albator78@libertysurf.fr>
-rw-r--r--redhat/core/tdeutils/tdeutils.spec16
1 files changed, 4 insertions, 12 deletions
diff --git a/redhat/core/tdeutils/tdeutils.spec b/redhat/core/tdeutils/tdeutils.spec
index 79089d970..7437468b5 100644
--- a/redhat/core/tdeutils/tdeutils.spec
+++ b/redhat/core/tdeutils/tdeutils.spec
@@ -85,18 +85,9 @@ BuildRequires: net-snmp-devel
BuildRequires: gmp-devel
# PYTHON support
-%if 0%{?sle_version} >= 150400 || 0%{?rhel} >= 9
-%define python python3
-%define __python %__python3
-%else
-%if 0%{?rhel} >= 8 || 0%{?fedora} >= 31
-%define python python2
-%define __python %__python2
-%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-%else
-%define python python
-%endif
-%endif
+%global python python3
+%global __python %__python3
+%{!?python_sitearch:%global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
BuildRequires: %{python}
BuildRequires: %{python}-devel
@@ -825,6 +816,7 @@ This package is part of Trinity, as a component of the TDE utilities module.
%{tde_tdedocdir}/HTML/en/tdefilereplace/
%{tde_datadir}/icons/hicolor/*/apps/tdefilereplace.png
%{tde_datadir}/services/tdefilereplacepart.desktop
+%{tde_mandir}/man1/tdefilereplace.1*
%endif