Hello community, here is the log from the commit of package gfan for openSUSE:Factory checked in at 2016-06-19 10:50:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gfan (Old) and /work/SRC/openSUSE:Factory/.gfan.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gfan" Changes: -------- --- /work/SRC/openSUSE:Factory/gfan/gfan.changes 2014-10-14 07:11:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gfan.new/gfan.changes 2016-06-19 10:50:10.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jun 16 21:38:19 UTC 2016 - jeng...@inai.de + +- Add missing post and postun sections for ldconfig +- Build with std=gnu++98 because the code has not been written + with C++11's std::rank in mind. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gfan.spec ++++++ --- /var/tmp/diff_new_pack.CO0s3R/_old 2016-06-19 10:50:11.000000000 +0200 +++ /var/tmp/diff_new_pack.CO0s3R/_new 2016-06-19 10:50:11.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package gfan # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 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 @@ -77,26 +77,28 @@ %patch -P 1 -P 2 -P 3 -P 4 -p1 %build -autoreconf -fi; -%if 0%{?suse_version} <= 1110 -# -Wno-unused-result is not a recognized option of gcc 4.3 -export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused"; -%else -export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused -Wno-unused-result"; +autoreconf -fi +export CXXFLAGS="%optflags -Wno-sign-compare -Wno-reorder -Wno-unused -std=gnu++98" +%if 0%{?suse_version} > 1110 +# -Wno-unused-result not known in old SUSE +export CXXFLAGS="$CXXFLAGS -Wno-unused-result" %endif %configure --disable-static --enable-silent-rules -make %{?_smp_mflags}; +make %{?_smp_mflags} %if 0%{?with_pdf} -make -C doc %{?_smp_mflags}; +make -C doc %{?_smp_mflags} %endif %install -b="%buildroot"; -make install DESTDIR="$b"; +b="%buildroot" +make install DESTDIR="$b" for i in $(./gfan _list | grep ^gfan_); do - ln -s gfan "$b/%_bindir/$i"; + ln -s gfan "$b/%_bindir/$i" done; -rm -f "$b/%_libdir"/*.la; +rm -fv "$b/%_libdir"/*.la + +%post -n %lname -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig %files %defattr(-,root,root)