summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/libraries/python-trinity/python-trinity-14.0.0.spec')
-rw-r--r--redhat/libraries/python-trinity/python-trinity-14.0.0.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
index 4a90da275..f2da1f06d 100644
--- a/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
+++ b/redhat/libraries/python-trinity/python-trinity-14.0.0.spec
@@ -43,6 +43,9 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{tde_version}%{?preversion:~%{preversion}}.tar.gz
+Patch0: python-trinity-14.0.0-ftbfs.patch
+Patch1: python-trinity-14.0.0-ftbfs2.patch
+
BuildRequires: trinity-tqtinterface-devel >= %{tde_version}
BuildRequires: trinity-arts-devel >= 1:1.5.10
BuildRequires: trinity-tdelibs-devel >= %{tde_version}
@@ -113,6 +116,10 @@ tips and working code you can use to learn from.
%prep
%setup -q -n %{name}-%{tde_version}%{?preversion:~%{preversion}}
+%if 0%{?suse_version} == 1310
+%patch0 -p1 -b .ftbfs
+#patch1 -p1 -b .ftbfs
+%endif
%build
@@ -127,7 +134,7 @@ export DH_OPTIONS
-L %{_lib} \
-v %{_datadir}/sip/trinity
-%__make %{_smp_mflags}
+%__make %{_smp_mflags} || %__make
%install