Hello community, here is the log from the commit of package libmd for openSUSE:Factory checked in at 2019-08-16 15:30:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libmd (Old) and /work/SRC/openSUSE:Factory/.libmd.new.22127 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libmd" Fri Aug 16 15:30:20 2019 rev:5 rq:723087 version:1.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/libmd/libmd.changes 2018-12-27 00:24:39.827894944 +0100 +++ /work/SRC/openSUSE:Factory/.libmd.new.22127/libmd.changes 2019-08-16 15:30:22.169965851 +0200 @@ -1,0 +2,5 @@ +Tue Aug 13 13:54:43 UTC 2019 - Martin Pluskal <[email protected]> + +- Enable profile guided optimization + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libmd.spec ++++++ --- /var/tmp/diff_new_pack.9OcUn8/_old 2019-08-16 15:30:22.733965687 +0200 +++ /var/tmp/diff_new_pack.9OcUn8/_new 2019-08-16 15:30:22.737965685 +0200 @@ -1,7 +1,7 @@ # # spec file for package libmd # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -64,7 +64,15 @@ %configure \ --disable-static \ --disable-silent-rules -make %{?_smp_mflags} + +%if %{do_profiling} + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + make check %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" + make %{?_smp_mflags} clean + make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" +%else + make %{?_smp_mflags} %{addopts} +%endif %install %make_install @@ -86,6 +94,6 @@ %{_includedir}/* %{_libdir}/%{name}.so %{_libdir}/pkgconfig/libmd.pc -%{_mandir}/man3/*.3%{ext_man} +%{_mandir}/man3/*.3%{?ext_man} %changelog
