From 67bc8a058a80cf5d2eeaf916e0d0003357cfd88d Mon Sep 17 00:00:00 2001 From: shadzik Date: Fri, 20 Jun 2008 19:14:04 +0000 Subject: [PATCH] - fix 64bit build - add patch0 Changed files: ebook-tools.spec -> 1.8 --- ebook-tools.spec | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ebook-tools.spec b/ebook-tools.spec index 2cfe9bd..90884f3 100644 --- a/ebook-tools.spec +++ b/ebook-tools.spec @@ -7,6 +7,7 @@ License: GPL v3 Group: X11/Libraries Source0: http://dl.sourceforge.net/ebook-tools/%{name}-%{version}.tar.gz # Source0-md5: 15946af6f946eabe8247cdef9ada2b88 +Patch0: %{name}-lib64.patch URL: http://sourceforge.net/projects/ebook-tools BuildRequires: cmake BuildRequires: libzip-devel @@ -35,12 +36,16 @@ Pakiet ten zawiera pliki nagłówkowe do ebook-tools. %prep %setup -q +%patch0 -p0 %build install -d build cd build %cmake \ -DCMAKE_INSTALL_PREFIX=%{_prefix} \ +%if "%{_lib}" == "lib64" + -DLIB_SUFFIX=64 \ +%endif ../ %{__make} -- 2.44.0