Hello community, here is the log from the commit of package log4c for openSUSE:Factory checked in at 2013-10-14 22:04:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/log4c (Old) and /work/SRC/openSUSE:Factory/.log4c.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "log4c" Changes: -------- --- /work/SRC/openSUSE:Factory/log4c/log4c.changes 2012-08-04 09:22:10.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.log4c.new/log4c.changes 2013-10-14 22:04:14.000000000 +0200 @@ -1,0 +2,40 @@ +Mon Oct 14 09:13:19 UTC 2013 - [email protected] + +- make check fails on symlinks made by fdupes + * run check in build phase then + +------------------------------------------------------------------- +Fri Oct 4 09:41:03 UTC 2013 - [email protected] + +- Update to 1.2.4 + * new date_local and date_local_r appenders + * fixed several warnings + * public API functions with format strings are marked by GNU + C format attribute + 1.2.3: + * use UTF-8 encoding in AUTHORS file + * update FSF address in license and headers + * manpage for log4c-config + * pkgconfig file + * fixed memory leaks in log4c_ini()/log4c_fini() + * use more recent autotools + 1.2.1: + * added log4c_appender_syslog_set_facility() + * rollingfile appender crash fixes + * load only first log4crc file + * fixed crash on messages longer than 1024 bytes + * added one missing C++ declaration + * fixed reopening of the stream appender + * proper copy message over end of the file in mmap appender + * various small other fixes +- Use pristine upstream tarball and source url +- Reformat spec file and add make check call +- Call fdupes on documentation and manual pages +- Drop log4crc.sample installation and moved to documentation + of devel package +- Moved unecessary documentation files (README, AUTHORS, ChangeLog) + to devel package +- Build with pkg-config +- Drop log4c-fix-m4-quoting.patch, already upstream + +------------------------------------------------------------------- Old: ---- log4c-1.2.1.tar.bz2 log4c-fix-m4-quoting.patch New: ---- log4c-1.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ log4c.spec ++++++ --- /var/tmp/diff_new_pack.4bfvzy/_old 2013-10-14 22:04:16.000000000 +0200 +++ /var/tmp/diff_new_pack.4bfvzy/_new 2013-10-14 22:04:16.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package log4c # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 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 @@ -18,9 +18,22 @@ Name: log4c +Version: 1.2.4 +Release: 0 +Summary: A library of C for flexible logging to files, syslog and other destinations +License: LGPL-2.1+ +Group: System/Libraries +Url: http://log4c.sourceforge.net/ +Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz +Source1: baselibs.conf +BuildRoot: %{_tmppath}/%{name}-%{version}-build + BuildRequires: doxygen +BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: graphviz-gd BuildRequires: libexpat-devel +BuildRequires: pkg-config BuildRequires: texlive-latex %if %suse_version > 1220 BuildRequires: texlive-courier @@ -40,22 +53,6 @@ BuildRequires: tex(tocloft.sty) BuildRequires: tex(xtab.sty) %endif -# graphiz -%if %{suse_version} < 1030 -BuildRequires: graphviz -%else -BuildRequires: graphviz-gd -%endif -Version: 1.2.1 -Release: 0 -Summary: A library of C for flexible logging to files, syslog and other destinations -License: LGPL-2.1+ -Group: System/Libraries -Url: http://log4c.sourceforge.net/ -Source0: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 -Source1: baselibs.conf -Patch0: log4c-fix-m4-quoting.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Log4c is a library of C for flexible logging to files, syslog and other @@ -85,7 +82,6 @@ %package -n liblog4c-doc Summary: Documentation for log4c Group: Development/Languages/C and C++ -Requires: glibc-devel Requires: liblog4c3 = %{version} %description -n liblog4c-doc @@ -93,7 +89,6 @@ %prep %setup -q -%patch0 -p1 %build %configure --disable-static --with-pic \ @@ -101,11 +96,22 @@ --enable-doc \ --enable-debug %{__make} -j1 # parallel make is broken +# check fails on symlinks, so run before install +%{__make} check %install %makeinstall %__rm %{buildroot}%{_libdir}/liblog4c.la -%__rm -rf %{buildroot}%{_datadir}/doc/log4c-1.2.1/ +%__rm -rf %{buildroot}%{_datadir}/doc/log4c-%{version}/ +%__rm -rf %{buildroot}/%{_sysconfdir} + +%fdupes -s %{buildroot}/%{_mandir} +%fdupes -s doc/ + +# make check does generate documentation twice for unknown reason and fail because of fdupes and symlinks +# moved to % build +# % check +# % {__make} check %post -n liblog4c3 -p /sbin/ldconfig @@ -113,16 +119,17 @@ %files -n liblog4c3 %defattr(-,root,root) -%doc ChangeLog COPYING AUTHORS README -%{_sysconfdir}/log4c* +%doc COPYING %{_libdir}/liblog4c.so.* %files -n liblog4c-devel %defattr(-,root,root) +%doc ChangeLog COPYING AUTHORS README log4crc.sample %{_bindir}/log4c-config %{_includedir}/log4c.h %{_includedir}/log4c %{_libdir}/liblog4c.so +%{_libdir}/pkgconfig/%{name}.pc %{_datadir}/aclocal %{_mandir}/man?/log4c* -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
