diff --git a/transfig.changes b/transfig.changes index b69b318..2e03b62 100644 --- a/transfig.changes +++ b/transfig.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink + +- Make spec file build with older SLE versions as well + * This version is used by xfig 3.2.8 and above + ------------------------------------------------------------------- Fri May 21 11:50:39 UTC 2021 - Dr. Werner Fink @@ -176,6 +182,12 @@ Thu Aug 15 07:21:49 UTC 2019 - Dr. Werner Fink - Add patch transfig-03ea4578.patch from upstream commit 03ea4578 to fix bsc#1143650 with CVE-2019-14275 +------------------------------------------------------------------- +Wed Jun 26 07:45:21 UTC 2019 - Dr. Werner Fink + +- Add patch transfig-fix-of-e0c4b024.patch to fix last added upstream + commit (boo#1136882) + ------------------------------------------------------------------- Thu Aug 30 09:50:10 UTC 2018 - Dr. Werner Fink diff --git a/transfig.spec b/transfig.spec index 075cae6..ce27cc0 100644 --- a/transfig.spec +++ b/transfig.spec @@ -36,7 +36,13 @@ BuildRequires: tex(times.sty) BuildRequires: tex(xmpmulti.sty) %endif BuildRequires: libpng-devel +%if 0%{?suse_version} > 1310 BuildRequires: pkgconfig(xpm) +%else +BuildRequires: xorg-x11-libXpm-devel +BuildRequires: xz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +%endif # www.xfig.org is dead URL: http://mcj.sourceforge.net/ Provides: fig2dev @@ -58,16 +64,6 @@ Patch4: transfig-fix-afl.patch Patch43: fig2dev-3.2.6-fig2mpdf.patch Patch44: fig2dev-3.2.6-fig2mpdf-doc.patch Patch45: fig2dev-3.2.6a-RGBFILE.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{expand: %%global _exec_prefix %(type -p pkg-config &>/dev/null && pkg-config --variable prefix x11 || echo /usr/X11R6)} -%if "%_exec_prefix" == "/usr/X11R6" -%global _mandir %{_exec_prefix}/man -%define _x11data %{_exec_prefix}/lib/X11 -%define _data $(LIBDIR) -%else -%define _x11data %{_datadir}/X11 -%define _data $(SHAREDIR) -%endif %description TransFig is a set of tools for creating TeX documents with graphics