From db04c3efbe3defee646a0145f7e3aa39c797329b8124a61f10133599f3a39474 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Thu, 22 Dec 2011 11:28:50 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Archiving/libarchive?expand=0&rev=5 --- libarchive.changes | 5 +++++ libarchive.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/libarchive.changes b/libarchive.changes index 87f9cf3..e6005c6 100644 --- a/libarchive.changes +++ b/libarchive.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 22 11:27:05 UTC 2011 - werner@suse.de + +- For SLES11 work around missing rpm macro + ------------------------------------------------------------------- Tue Dec 6 16:00:48 UTC 2011 - coolo@suse.com diff --git a/libarchive.spec b/libarchive.spec index f376d97..5f9de63 100644 --- a/libarchive.spec +++ b/libarchive.spec @@ -148,7 +148,11 @@ make %{?_smp_mflags} make check %install +%if %{defined make_install} %make_install +%else +%__make install DESTDIR=%{?buildroot} +%endif rm -fv minitar/*.o rm -fv %{buildroot}%{_libdir}/*.la rm "%{buildroot}%{_mandir}/man5/"{tar,cpio,mtree}.5*