Accepting request 525821 from LibreOffice:Factory
- Upgrade to 0.10.2 bsc#1058025 CVE-2017-14226: * Require C++11 for build. * Fix various crashes, leaks and hangs when reading damaged files found by oss-fuzz. OBS-URL: https://build.opensuse.org/request/show/525821 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libwpd?expand=0&rev=41
This commit is contained in:
commit
06d3df5e27
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:09d3410bc770f9d9eedc8544b5c211771ea3322de3fee19b58ad7d40fb2984f6
|
|
||||||
size 524004
|
|
3
libwpd-0.10.2.tar.xz
Normal file
3
libwpd-0.10.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:323f68beaf4f35e5a4d7daffb4703d0566698280109210fa4eaa90dea27d6610
|
||||||
|
size 536400
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Sep 13 10:49:05 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Upgrade to 0.10.2 bsc#1058025 CVE-2017-14226:
|
||||||
|
* Require C++11 for build.
|
||||||
|
* Fix various crashes, leaks and hangs when reading damaged files found
|
||||||
|
by oss-fuzz.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Feb 11 20:04:39 UTC 2016 - tchvatal@suse.com
|
Thu Feb 11 20:04:39 UTC 2016 - tchvatal@suse.com
|
||||||
|
|
||||||
|
25
libwpd.spec
25
libwpd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libwpd
|
# spec file for package libwpd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,24 +16,28 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define libname libwpd-0_10-10
|
||||||
Name: libwpd
|
Name: libwpd
|
||||||
Version: 0.10.1
|
Version: 0.10.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for Importing WordPerfect (tm) Documents
|
Summary: Library for Importing WordPerfect (tm) Documents
|
||||||
License: LGPL-2.1+ and MPL-2.0+
|
License: LGPL-2.1+ AND MPL-2.0+
|
||||||
Group: Productivity/Publishing/Word
|
Group: Productivity/Publishing/Word
|
||||||
Url: http://libwpd.sourceforge.net
|
Url: http://libwpd.sourceforge.net
|
||||||
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
|
Source: http://downloads.sourceforge.net/project/%{name}/%{name}/%{name}-%{version}/%{name}-%{version}.tar.xz
|
||||||
# note: the main package is empty, it only sets a sane name for the source rpm
|
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(librevenge-0.0)
|
BuildRequires: pkgconfig(librevenge-0.0)
|
||||||
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
BuildRequires: pkgconfig(librevenge-stream-0.0)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
%if 0%{?suse_version} >= 1330
|
||||||
|
BuildRequires: libboost_headers-devel
|
||||||
|
%else
|
||||||
|
BuildRequires: boost-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libwpd is a general purpose library for reading or interpreting data
|
libwpd is a general purpose library for reading or interpreting data
|
||||||
@ -41,8 +45,6 @@ from WordPerfect files. The library is not a stand-alone utility: it is
|
|||||||
designed to be used by another program (for example, a word processor)
|
designed to be used by another program (for example, a word processor)
|
||||||
as an in-process component.
|
as an in-process component.
|
||||||
|
|
||||||
%define libname libwpd-0_10-10
|
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Library for Importing WordPerfect (tm) Documents
|
Summary: Library for Importing WordPerfect (tm) Documents
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -95,7 +97,7 @@ export CXXFLAGS="%{optflags} -fvisibility-inlines-hidden"
|
|||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
mkdir -p %{buildroot}%{_mandir}/man1
|
mkdir -p %{buildroot}%{_mandir}/man1
|
||||||
for i in %{buildroot}%{_bindir}/*; do
|
for i in %{buildroot}%{_bindir}/*; do
|
||||||
@ -105,27 +107,22 @@ done
|
|||||||
%fdupes -s %{buildroot}%{_docdir}/%{name}/html
|
%fdupes -s %{buildroot}%{_docdir}/%{name}/html
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/pkgconfig/libwpd*.pc
|
%{_libdir}/pkgconfig/libwpd*.pc
|
||||||
%{_includedir}/libwpd-*
|
%{_includedir}/libwpd-*
|
||||||
|
|
||||||
%files devel-doc
|
%files devel-doc
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc %dir %{_docdir}/%{name}
|
%doc %dir %{_docdir}/%{name}
|
||||||
%doc %{_docdir}/%{name}/html
|
%doc %{_docdir}/%{name}/html
|
||||||
%doc %{_docdir}/%{name}/libwpd.*
|
%doc %{_docdir}/%{name}/libwpd.*
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_mandir}/man1/*.1*
|
%{_mandir}/man1/*.1*
|
||||||
%doc ChangeLog
|
%doc ChangeLog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user