From f9259b3c1604974b5410628eccfa9ac6f05df767a2eaf043bbc40be117687f08 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 31 May 2007 05:52:20 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/Archiving/lzop?expand=0&rev=4 --- lzop.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lzop.spec b/lzop.spec index 6bb4d23..d817b7c 100644 --- a/lzop.spec +++ b/lzop.spec @@ -12,7 +12,7 @@ URL: http://www.oberhumer.com/opensource/lzop/ Group: Archiving/Compression License: GNU General Public License (GPL) BuildRoot: %{_tmppath}/build-%{name}-%{version} -BuildRequires: lzo lzo-devel >= 2.0.0 +BuildRequires: lzo lzo-devel BuildRequires: gcc make glibc-devel BuildRequires: autoconf automake libtool @@ -29,8 +29,7 @@ lzop was designed with the following goals in mind: %debug_package %prep %setup -q -%patch1 -%patch2 +[ -e "%{_libdir}/liblzo2.so" ] && %patch1 %build export CPPFLAGS="-I/usr/include/lzo"