Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
PDFlib-Lite
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 51
[-]
[+]
Changed
PDFlib-Lite.spec
@@ -46,6 +46,12 @@ %define py_incdir %{py_prefix}/include/python%{py_ver} %define py_sitedir %{py_libdir}/site-packages +%if 0%{?suse_version} >= 1100 +%define tcl_version %(echo 'puts [package require Tcl]' | tclsh | awk -F. '{print $1"."$2}') +%else +%define tcl_version %(echo 'puts [package require Tcl]' | tclsh) +%endif + %endif %ifarch x86_64 @@ -259,8 +265,10 @@ %patch0 %build +%if 0%{?suse_version} export CFLAGS="${RPM_OPT_FLAGS}" export CXXFLAGS="$CFLAGS -fno-strict-aliasing" +%endif . %{_libdir}/tclConfig.sh export %ifarch x86_64