From d6fbd30e84f140bce06bc3c740c8fd77a2963c5171c84d4306fe27300e51d9bf Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 22 Nov 2012 01:19:04 +0000 Subject: [PATCH] Rip out %make_install; replace by something sane OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=11 --- zlib.changes | 6 ++++++ zlib.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/zlib.changes b/zlib.changes index 4cee547..ba8b25e 100644 --- a/zlib.changes +++ b/zlib.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Nov 22 01:17:59 UTC 2012 - jengelh@inai.de + +- Replace %make_install by normal make install; + the former is a constant source of agony in older or non-SUSE. + ------------------------------------------------------------------- Mon Oct 22 05:10:48 UTC 2012 - coolo@suse.com diff --git a/zlib.spec b/zlib.spec index aaa5a3c..915415a 100644 --- a/zlib.spec +++ b/zlib.spec @@ -120,7 +120,7 @@ time make check %install mkdir -p %{buildroot}%{_libdir} -%make_install +make install DESTDIR="%buildroot" ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) %{buildroot}%{_libdir}/libz.so rm -v %{buildroot}/%{_lib}/libz.so # static lib