SHA256
1
0
forked from pool/mupdf

Accepting request 814107 from Publishing

- Fix building with gcc10

OBS-URL: https://build.opensuse.org/request/show/814107
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mupdf?expand=0&rev=41
This commit is contained in:
Dominique Leuenberger 2020-06-12 19:43:24 +00:00 committed by Git OBS Bridge
commit 3185b870c0
2 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Jun 12 08:32:08 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Fix building with gcc10
-------------------------------------------------------------------
Tue Sep 10 11:41:20 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -1,7 +1,7 @@
#
# spec file for package mupdf
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2011 Guido Berhoerster.
#
# All modifications and additions to the file contributed by third parties
@ -23,7 +23,7 @@ Release: 0
Summary: PDF and XPS Viewer and Parser and Rendering Library
License: AGPL-3.0-or-later
Group: Productivity/Office/Other
Url: https://mupdf.com/
URL: https://mupdf.com/
Source0: https://mupdf.com/downloads/archive/%{name}-%{version}-source.tar.xz
Source1: %{name}.desktop
Source2: %{name}-gl.desktop
@ -94,8 +94,8 @@ echo > user.make "\
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export XCFLAGS="%{optflags} -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
make %{?_smp_mflags} build=release verbose=yes
export XCFLAGS="%{optflags} -fcommon -fPIC -DJBIG_NO_MEMENTO -DTOFU -DTOFU_CJK"
%make_build build=release verbose=yes
%install
%make_install build=release prefix=%{_prefix} libdir=%{_libdir}
@ -130,7 +130,7 @@ cd %{buildroot}/%{_bindir} && ln -s %{name}-x11 %{name}
%{_datadir}/icons/hicolor/scalable
%{_datadir}/icons/hicolor/scalable/apps
%{_datadir}/icons/hicolor/scalable/apps/*
%{_mandir}/man1/*.1.gz
%{_mandir}/man1/*.1%{?ext_man}
%files devel-static
%{_includedir}/%{name}