diff options
author | François Andriot <[email protected]> | 2021-03-02 19:50:55 +0100 |
---|---|---|
committer | François Andriot <[email protected]> | 2021-03-02 19:52:11 +0100 |
commit | 12dcc700a83c4c76187e9bbcd046a032a202872e (patch) | |
tree | 94abe8ac4fa6c5b4f2da6c7177662f0bbe9d4afc /redhat/main/tdevelop | |
parent | c5de148f49058ceede8b98a0fd81262fbe0eb31d (diff) | |
download | tde-packaging-12dcc700a83c4c76187e9bbcd046a032a202872e.tar.gz tde-packaging-12dcc700a83c4c76187e9bbcd046a032a202872e.zip |
RPM: add support for Mageia 8
Diffstat (limited to 'redhat/main/tdevelop')
-rw-r--r-- | redhat/main/tdevelop/tdevelop.spec | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/main/tdevelop/tdevelop.spec b/redhat/main/tdevelop/tdevelop.spec index 7ee98f8d6..6839d6113 100644 --- a/redhat/main/tdevelop/tdevelop.spec +++ b/redhat/main/tdevelop/tdevelop.spec @@ -114,9 +114,15 @@ BuildRequires: libdb-devel %else # DB4 support +%if 0%{?mgaversion} || 0%{?mdkversion} +#BuildRequires: %{_lib}db4.8-devel +%endif %if 0%{?rhel} || 0%{?fedora} BuildRequires: db4-devel %endif +%if 0%{?suse_version} +BuildRequires: libdb-4_8-devel +%endif %endif # FLEX support @@ -148,6 +154,14 @@ BuildRequires: libacl-devel # OPENSSL support BuildRequires: openssl-devel +# PYTHON support +%if 0%{?rhel} >= 8 || 0%{?fedora} >= 30 || 0%{?mgaversion} >= 8 +%global python python2 +%global __python python2 +%else +%global __python python2 +%endif + %description The TDevelop Integrated Development Environment provides many features @@ -598,6 +612,7 @@ This package contains the libraries needed for the tdevelop programs. %setup -q -n %{name}-%{version}%{?preversion:~%{preversion}} + %build unset QTDIR QTINC QTLIB export PATH="%{tde_bindir}:${PATH}" |