]> git.pld-linux.org Git - packages/Firebird.git/blobdiff - Firebird.spec
- rel 7
[packages/Firebird.git] / Firebird.spec
index 0258eeb341b68b28c3da3d2cd5db7a8dfe153329..6d913c0127aa584fa1cc922d0e8310c3073b5d4c 100644 (file)
@@ -9,7 +9,7 @@ Summary(pl):    Firebird - serwer baz danych SQL oraz narz
 Name:          Firebird
 # FirebirdCS/FirebirdSS (Classic Server/Super Server)?
 Version:       1.5.3.4870
-Release:       2
+Release:       7
 License:       Interbase Public License 1.0
 Group:         Applications/Databases
 Source0:       http://dl.sourceforge.net/firebird/firebird-%{version}.tar.bz2
@@ -35,6 +35,7 @@ Patch8:               %{name}-no-custom-errno-and-sys_XXerrXX.dpatch
 Patch9:                %{name}-opt-bypass-redundant-sort.dpatch
 Patch10:       %{name}-security-remote-preauth-crash.dpatch
 Patch11:       %{name}-separate-file-and-sem-perms.dpatch
+Patch12:       %{name}-ppc.patch
 URL:           http://www.firebirdsql.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -142,6 +143,7 @@ Obszerna dokumentacja do baz InterBase i Firebird.
 %patch9 -p1
 %patch10 -p1
 %patch11 -p1
+%patch12 -p1
 install -d docs/{IB3.0,IB4.0,IB6.0}
 unzip -q %{SOURCE1} -d docs/IB6.0
 tar xzf %{SOURCE2} -C docs/IB4.0
@@ -149,6 +151,9 @@ unzip -q %{SOURCE3} -d docs/IB3.0
 # standardize extension, also avoids gzipping by compress-doc
 mv -f docs/IB6.0/LANGREF.{PDF,pdf}
 
+# force rebuild
+rm -f src/dsql/parse.cpp
+
 %build
 cd src/extern/editline
 cp -f /usr/share/automake/config.* .
@@ -165,14 +170,15 @@ cd ../../..
 
 # OPTFLAGS for editline
 export OPTFLAGS="%{rpmcflags}"
+DARCH=""
 %ifarch %{x8664}
 DARCH="-DAMD64"
-%else
+%endif
 %ifarch sparc sparcv9
 DARCH="-Dsparc"
-%else
-DARCH=""
 %endif
+%ifarch ppc
+DARCH="-DPPC"
 %endif
 
 %{__make} -j1 \
This page took 0.032959 seconds and 4 git commands to generate.