Logoj0ke.net Open Build Service > Projects > home:netmax > PDFlib-Lite > Changes
Sign Up | Log In

Changes of Revision 51

[-] Changed PDFlib-Lite.spec
x
 
1
@@ -46,6 +46,12 @@
2
 %define py_incdir              %{py_prefix}/include/python%{py_ver}
3
 %define py_sitedir             %{py_libdir}/site-packages
4
 
5
+%if 0%{?suse_version} >= 1100 
6
+%define tcl_version %(echo 'puts [package require Tcl]' | tclsh | awk -F. '{print $1"."$2}')
7
+%else
8
+%define tcl_version %(echo 'puts [package require Tcl]' | tclsh)
9
+%endif
10
+
11
 %endif
12
 
13
 %ifarch x86_64
14
@@ -259,8 +265,10 @@
15
 %patch0
16
 
17
 %build
18
+%if 0%{?suse_version}
19
 export CFLAGS="${RPM_OPT_FLAGS}"
20
 export CXXFLAGS="$CFLAGS -fno-strict-aliasing"
21
+%endif
22
 . %{_libdir}/tclConfig.sh
23
 export
24
 %ifarch x86_64
25