Accepting request 982736 from home:ecsos

- Add sigil-lto.patch to fix boo#1199981 

Hope so, because ca not test myself.

OBS-URL: https://build.opensuse.org/request/show/982736
OBS-URL: https://build.opensuse.org/package/show/Documentation:Tools/sigil?expand=0&rev=70
This commit is contained in:
2022-06-15 08:38:32 +00:00
committed by Git OBS Bridge
parent 7ce80683d7
commit 64f6422c6b
3 changed files with 36 additions and 1 deletions

View File

@@ -30,6 +30,8 @@ Source1: https://github.com/Sigil-Ebook/sigil-user-guide/releases/downloa
Source2: %{name}.desktop
# PATCH-FIX-OPENSUSE Disabled __DATE__ and __TIME__ which is replaced later in pre section
Patch0: %{name}-gt-0.9.0-Dialogs-About.cpp.patch
# PATCH-UPSTREAM - Fix Sigil EBUP editor terminates with SIGSEGV on startup
Patch1: %{name}-lto.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 3.0
BuildRequires: dos2unix
@@ -116,7 +118,8 @@ specification and create a hierarchical Table of Contents.
%prep
%setup -q -n Sigil-%{version}
%patch0 -p 1
%patch0 -p1
%patch1 -p1
cp -v %{SOURCE1} .
cp -v %{SOURCE2} .
# rpmlint