Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2014-10-15 16:19:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and      /work/SRC/openSUSE:Factory/.zlib.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zlib"

Changes:
--------
--- /work/SRC/openSUSE:Factory/zlib/zlib.changes        2013-07-29 
21:14:00.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new/zlib.changes   2014-10-15 
16:19:19.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Sep 25 08:04:55 UTC 2014 - tchva...@suse.com
+
+- Install examples to cover another angle from bnc#890228
+- Cleanup with spec-cleaner
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zlib.spec ++++++
--- /var/tmp/diff_new_pack.UtSCp8/_old  2014-10-15 16:19:20.000000000 +0200
+++ /var/tmp/diff_new_pack.UtSCp8/_new  2014-10-15 16:19:20.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zlib
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,6 @@
 
 
 %bcond_with profiling
-
 Name:           zlib
 Version:        1.2.8
 Release:        0
@@ -71,7 +70,7 @@
 Group:          Development/Languages/C and C++
 Requires:       glibc-devel
 Requires:       libz1 = %{version}
-Provides:       libz:/usr/include/zlib.h
+Provides:       libz:%{_includedir}/zlib.h
 # bug437293
 %ifarch ppc64
 Obsoletes:      zlib-devel-64bit
@@ -108,7 +107,7 @@
 trap "rm -rf $profiledir" EXIT
 CC="gcc" ./configure --shared --prefix=%{_prefix} --libdir=/%{_lib}
 make CFLAGS="%{optflags} %{cflags_profile_generate}=$profiledir" 
%{?_smp_mflags}
-time make check
+time make check %{?_smp_mflags} 
 make clean
 make CFLAGS="%{optflags} %{cflags_profile_feedback}=$profiledir" 
%{?_smp_mflags}
 %else
@@ -118,11 +117,11 @@
 %endif
 
 %check
-time make check
+time make check %{?_smp_mflags}
 
 %install
 mkdir -p %{buildroot}%{_libdir}
-make install DESTDIR="%buildroot"
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
 ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) 
%{buildroot}%{_libdir}/libz.so
 rm -v %{buildroot}/%{_lib}/libz.so
 # static lib
@@ -132,6 +131,9 @@
 # manpage
 install -m 644 zlib.3 %{buildroot}%{_mandir}/man3
 install -m 644 zutil.h %{buildroot}%{_includedir}
+# examples
+mkdir -p %{buildroot}%{_docdir}/%{name}
+cp -r examples/ %{buildroot}%{_docdir}/%{name}/
 
 %post -n libz1 -p /sbin/ldconfig
 
@@ -145,6 +147,9 @@
 %files devel
 %defattr(-,root,root)
 %doc README ChangeLog
+%dir %{_docdir}/%{name}/
+%dir %{_docdir}/%{name}/examples
+%{_docdir}/%{name}/examples/*
 %{_mandir}/man3/zlib.3.gz
 %{_includedir}/zlib.h
 %{_includedir}/zconf.h

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to