From 87e670b23b5dab5f4d966d5090b1bfdf42780dae04059a5acac2e9f3a3eb19e0 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sun, 30 Aug 2009 18:16:06 +0000 Subject: [PATCH] Copy from home:coolo:branches:openSUSE:Factory/xz via accept of submit request 19245 Request was accepted with message: OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=4 --- xz.changes | 5 +++++ xz.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/xz.changes b/xz.changes index 38f96a4..a80776c 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 23 14:50:09 CEST 2009 - coolo@novell.com + +- borrow %check section from fedora spec + ------------------------------------------------------------------- Thu Aug 20 15:51:47 CEST 2009 - coolo@novell.com diff --git a/xz.spec b/xz.spec index 98cb355..6cbf8ed 100644 --- a/xz.spec +++ b/xz.spec @@ -81,6 +81,9 @@ AUTOPOINT=true autoreconf -fi %configure --libdir=/%{_lib} --disable-static --with-pic --docdir=%_docdir/%name make %{?jobs:-j%jobs} +%check +LD_LIBRARY_PATH=$PWD/src/liblzma/.libs make check + %install make install DESTDIR=$RPM_BUILD_ROOT %{__mkdir_p} %{buildroot}%{_libdir}