summaryrefslogtreecommitdiffstats
path: root/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
diff options
context:
space:
mode:
authorFrancois Andriot <francois.andriot@free.fr>2012-11-24 09:58:05 +0100
committerFrancois Andriot <francois.andriot@free.fr>2012-11-24 09:58:05 +0100
commit32fb770ae4ed0851491a59df5e23e27fb8afdadf (patch)
treec36a3226a9dd6588d754bd3b0dccacf89e0589b3 /redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
parente7f51ead5a067b6e3ac4fc64edc734a82711f2d2 (diff)
downloadtde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.tar.gz
tde-packaging-32fb770ae4ed0851491a59df5e23e27fb8afdadf.zip
RPM: add PCLinuxOS support
Diffstat (limited to 'redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec')
-rw-r--r--redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec8
1 files changed, 6 insertions, 2 deletions
diff --git a/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec b/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
index bcbc29aaa..9e35b3833 100644
--- a/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
+++ b/redhat/libraries/python-trinity/python-trinity-3.5.13.1.spec
@@ -105,7 +105,7 @@ General documentation and examples for PyKDE providing programming
tips and working code you can use to learn from.
-%if 0%{?suse_version}
+%if 0%{?suse_version} || 0%{?pclinuxos}
%debug_package
%endif
@@ -136,11 +136,15 @@ export PYTHONPATH=%{python_sitearch}/trinity-sip:%{python_sitearch}/trinity-PyQt
-L %{_lib} \
-v %{_datadir}/sip/trinity
-%if 0%{?mgaversion} || 0%{?mdkversion}
# Shitty hack to add LDFLAGS
+%if 0%{?mgaversion} || 0%{?mdkversion}
%__sed -i */Makefile \
+%if 0%{?pclinuxos}
+ -e "/^LIBS = / s|$| -lpython2.6 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|"
+%else
-e "/^LIBS = / s|$| -lpython2.7 -lDCOP -lkdecore -lkdefx -lkdeui -lkresources -lkabc -lkparts -lkio|"
%endif
+%endif
%__make %{_smp_mflags}