Hello community, here is the log from the commit of package zlib for openSUSE:Factory checked in at 2011-12-27 18:39:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zlib (Old) and /work/SRC/openSUSE:Factory/.zlib.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "zlib", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/zlib/zlib.changes 2011-12-12 17:06:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.zlib.new/zlib.changes 2011-12-27 18:39:56.000000000 +0100 @@ -1,0 +2,6 @@ +Thu Dec 22 14:31:42 CET 2011 - [email protected] + +- use configure options for library paths. Also fixes + the pkg-config file to not have /usr/local bnc#738169 + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zlib.spec ++++++ --- /var/tmp/diff_new_pack.h4Jfld/_old 2011-12-27 18:39:59.000000000 +0100 +++ /var/tmp/diff_new_pack.h4Jfld/_new 2011-12-27 18:39:59.000000000 +0100 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: zlib Provides: libz Obsoletes: libz @@ -89,14 +90,14 @@ %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT -CC="%__cc" ./configure --shared +CC="%__cc" ./configure --shared --prefix=%_prefix --libdir=/%_lib %{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}=$profiledir" %{?_smp_mflags} time make check make clean %{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags} %else export CFLAGS="%optflags" -CC="%__cc" ./configure --shared +CC="%__cc" ./configure --shared --prefix=%_prefix --libdir=/%_lib %{__make} %{?_smp_mflags} %endif @@ -104,12 +105,9 @@ time make check %install -mkdir -p %{buildroot}{/%{_lib},%{_libdir}} -mkdir -p %{buildroot}%{_mandir}/man3 -mkdir -p %{buildroot}%{_includedir} -make install \ - prefix=%{buildroot}%{_prefix} \ - libdir=%{buildroot}/%{_lib} +#mkdir -p %{buildroot}%{_mandir}/man3 +mkdir -p %{buildroot}%{_libdir} +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 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
