Accepting request 1132911 from Publishing

OBS-URL: https://build.opensuse.org/request/show/1132911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lyx?expand=0&rev=107
This commit is contained in:
Ana Guerrero 2023-12-18 21:55:33 +00:00 committed by Git OBS Bridge
commit f713e4e6c3
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Dec 13 14:45:07 UTC 2023 - Giacomo Comes <gcomes.obs@gmail.com>
- move %reconfigure_fonts_prereq to the font package
- fix build failure on tumbleweed
* hack to be removed with lyx 2.4
-------------------------------------------------------------------
Mon Jan 2 09:04:28 UTC 2023 - Cor Blom <cornelis@solcon.nl>

View File

@ -116,7 +116,6 @@ Recommends: texlive-doublestroke
Recommends: texlive-picinpar
Recommends: texlive-shapepar
Recommends: texlive-sidecap
%reconfigure_fonts_prereq
%description
LyX is a document processor that encourages an approach to writing
@ -136,6 +135,7 @@ LyX uses ImageMagick to deal with images. For security reasons
Summary: Fonts for displaying math
Group: System/X11/Fonts
BuildArch: noarch
%reconfigure_fonts_prereq
%description fonts
A collection of Math symbol fonts for LyX.
@ -144,6 +144,13 @@ A collection of Math symbol fonts for LyX.
%autosetup -p1
%build
#hack for tumbleweed and for 2.3.7 only: fix build failure
#to be removed with lyx 2.4 as it already contains the fix
%if 0%{?suse_version} > 1500
if [[ %{version} = 2.3.7 ]]; then
sed -i '/static.*zoom_/s@static @@' src/frontends/qt4/GuiView.h
fi
%endif
#./autogen.sh
TEXMF=%{_datadir}/texmf
%configure \