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}