From 84bf1936521a662e204c49afaa167ddb0960e08b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 9 Apr 2023 19:17:47 +0200 Subject: RPM: update tdeutils MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: François Andriot --- redhat/core/tdeutils/tdeutils.spec | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'redhat') 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 -- cgit v1.2.1