Hello community,
here is the log from the commit of package liblogging for openSUSE:Factory checked in at 2014-03-05 15:37:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/liblogging (Old)
and /work/SRC/openSUSE:Factory/.liblogging.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "liblogging"
Changes:
--------
--- /work/SRC/openSUSE:Factory/liblogging/liblogging.changes 2014-02-11 11:39:46.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.liblogging.new/liblogging.changes 2014-03-05 15:37:47.000000000 +0100
@@ -1,0 +2,11 @@
+Mon Mar 3 22:41:28 UTC 2014 - andreas.stieger@gmx.de
+
+- update to liblogging 1.0.2:
+ * API of liblogging-stdlog is now feature-complete with multiple
+ channels, signal-safeness, and logging drivers for syslog, the
+ systemd journal, unix sockets and files.
+- add libsystemd-journal dependency for journal driver
+- add python-docutils dependencies for rst2man
+- add liblogging-1.0.2-fix-SLE-va_list.patch to fix build on SLE
+
+-------------------------------------------------------------------
Old:
----
liblogging-1.0.1.tar.gz
New:
----
liblogging-1.0.2-fix-SLE-va_list.patch
liblogging-1.0.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ liblogging.spec ++++++
--- /var/tmp/diff_new_pack.tb9InE/_old 2014-03-05 15:37:48.000000000 +0100
+++ /var/tmp/diff_new_pack.tb9InE/_new 2014-03-05 15:37:48.000000000 +0100
@@ -16,20 +16,32 @@
#
+%define with_systemd_journal 0%{?suse_version} >= 1310
+%define with_rst2man 0%{?suse_version} >= 1230
%define sover 0
-
Name: liblogging
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Summary: An easy to use logging library
License: BSD-2-Clause
Group: System Environment/Libraries
Url: http://www.liblogging.org/
Source0: http://download.rsyslog.com/liblogging/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
+Patch1: liblogging-1.0.2-fix-SLE-va_list.patch
BuildRequires: chrpath
BuildRequires: dos2unix
-BuildRequires: pkg-config
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+%if %{?sles_version} && %{?sles_version} <= 11
+BuildRequires: pkg-config >= 0.9.0
+%else
+BuildRequires: pkgconfig(pkg-config) >= 0.9.0
+%endif
+%if %{with_rst2man}
+BuildRequires: python-docutils
+%endif
+%if %{with_systemd_journal}
+BuildRequires: pkgconfig(libsystemd-journal) >= 197
+%endif
%description
Liblogging is an easy to use logging library.
@@ -37,13 +49,13 @@
It contains the Libstdlog component is used for standard logging
(syslog replacement) purposes via multiple channels.
-%package -n %name%sover
+%package -n %{name}%{sover}
Summary: An easy to use logging library
Group: System Environment/Libraries
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
-%description -n %name%sover
+%description -n %{name}%{sover}
Liblogging is an easy to use logging library.
It contains the Libstdlog component is used for standard logging
@@ -60,30 +72,44 @@
%prep
%setup -q
+%patch1 -p1
%build
%configure \
--disable-static \
- --enable-rfc3195
-make %{?_smp_mflags:%{_smp_mflags}} V=1
+ --enable-rfc3195 \
+%if %{with_systemd_journal}
+ --enable-journal \
+%else
+ --disable-journal \
+%endif
+%if %{with_rst2man}
+ --disable-cached-man-pages \
+%else
+ --enable-cached-man-pages \
+%endif
+
+make %{?_smp_mflags:%{?_smp_mflags}} V=1
dos2unix AUTHORS ChangeLog COPYING README
%install
-%makeinstall
-%{__rm} -v %{buildroot}/%{_libdir}/liblogging-rfc3195.la
-%{__rm} -v %{buildroot}/%{_libdir}/liblogging-stdlog.la
+make DESTDIR=%{buildroot} install %{?_smp_mflags}
+rm -v %{buildroot}/%{_libdir}/liblogging-rfc3195.la
+rm -v %{buildroot}/%{_libdir}/liblogging-stdlog.la
chrpath -d %{buildroot}/%{_libdir}/liblogging-stdlog.so.0.0.0
-%{__rm} -v rfc3195/doc/html/Makefile*
+rm -v rfc3195/doc/html/Makefile*
-%post -n %name%sover -p /sbin/ldconfig
+%post -n %{name}%{sover} -p /sbin/ldconfig
-%postun -n %name%sover -p /sbin/ldconfig
+%postun -n %{name}%{sover} -p /sbin/ldconfig
-%files -n %name%sover
+%files -n %{name}%{sover}
%defattr(-,root,root)
%doc COPYING
%{_libdir}/liblogging-rfc3195.so.*
%{_libdir}/liblogging-stdlog.so.*
+%{_bindir}/stdlogctl
+%{_mandir}/man1/stdlogctl*
%files devel
%defattr(-,root,root)
@@ -95,5 +121,6 @@
%{_includedir}/liblogging/*.h
%{_libdir}/pkgconfig/liblogging-rfc3195.pc
%{_libdir}/pkgconfig/liblogging-stdlog.pc
+%{_mandir}/man3/stdlog*
%changelog
++++++ liblogging-1.0.2-fix-SLE-va_list.patch ++++++
From: Andreas Stieger