Hello community, here is the log from the commit of package libircclient for openSUSE:Factory checked in at 2018-08-29 12:26:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libircclient (Old) and /work/SRC/openSUSE:Factory/.libircclient.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libircclient" Wed Aug 29 12:26:57 2018 rev:10 rq:632012 version:1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/libircclient/libircclient.changes 2017-12-31 01:14:04.248058797 +0100 +++ /work/SRC/openSUSE:Factory/.libircclient.new/libircclient.changes 2018-08-29 12:26:59.159631171 +0200 @@ -1,0 +2,6 @@ +Tue Aug 28 09:08:00 UTC 2018 - [email protected] + +- pdfgen.patch: use sphinx with latex to build documentation as + python-rst2pdf is only python2 at the moment + +------------------------------------------------------------------- New: ---- pdfgen.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libircclient.spec ++++++ --- /var/tmp/diff_new_pack.6sL5DE/_old 2018-08-29 12:26:59.687632331 +0200 +++ /var/tmp/diff_new_pack.6sL5DE/_new 2018-08-29 12:26:59.691632340 +0200 @@ -1,7 +1,7 @@ # # spec file for package libircclient # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,27 +16,33 @@ # -Name: libircclient %define soname 1 +Name: libircclient Version: 1.9 Release: 0 Summary: Library implementing client-server IRC protocol -License: LGPL-2.0+ +License: LGPL-2.0-or-later Group: System/Libraries -Url: http://libircclient.sourceforge.net/ +URL: http://libircclient.sourceforge.net/ Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE libircclient-memory-overflow.diff Patch0: libircclient-memory-overflow.diff # PATCH-FIX-UPSTREAM libircclient-cipher-suite.patch bnc#857151 Patch1: libircclient-cipher-suite.diff +Patch2: pdfgen.patch BuildRequires: automake -BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: libopenssl-devel BuildRequires: libtool +BuildRequires: pkgconfig +%if 0%{?suse_version} > 1500 +BuildRequires: python3-Sphinx +BuildRequires: python3-Sphinx-latex +%else BuildRequires: python-Sphinx -BuildRequires: python-rst2pdf -BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: python-Sphinx-latex +%endif +BuildRequires: pkgconfig(libcrypto) +BuildRequires: pkgconfig(libssl) %description It is designed to be small, fast, portable and compatible to RFC standards and most IRC clients. @@ -67,6 +73,7 @@ %setup -q %patch0 -p1 %patch1 -p1 +%patch2 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" @@ -78,29 +85,25 @@ make html %install -%makeinstall -rm -f "%{buildroot}/%{_libdir}"/*.la +%make_install +find %{buildroot} -type f -name "*.la" -delete -print mkdir -p "%{buildroot}/%{_mandir}/man1"; install -pm0644 man/libircclient.1 "%{buildroot}/%{_mandir}/man1/"; -%fdupes -s %{buildroot} %post -n %{name}%{soname} -p /sbin/ldconfig - %postun -n %{name}%{soname} -p /sbin/ldconfig %files -n %{name}%{soname} -%defattr(-,root,root) -%doc Changelog LICENSE README THANKS +%doc Changelog README THANKS +%license LICENSE %{_libdir}/libircclient.so.%{soname} %files -n %{name}-devel -%defattr(-,root,root) %{_includedir}/* %{_libdir}/libircclient.so %{_mandir}/man1/* %files -n %{name}-doc -%defattr(-,root,root) %doc doc/_build/html examples/*.cpp examples/*.c %changelog ++++++ pdfgen.patch ++++++ Index: libircclient-1.9/doc/conf.py =================================================================== --- libircclient-1.9.orig/doc/conf.py +++ libircclient-1.9/doc/conf.py @@ -25,7 +25,7 @@ import sys, os # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.doctest', 'rst2pdf.pdfbuilder'] +extensions = ['sphinx.ext.doctest'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates']
