Accepting request 903347 from Publishing

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/903347
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/transfig?expand=0&rev=49
This commit is contained in:
Dominique Leuenberger 2021-07-04 20:09:59 +00:00 committed by Git OBS Bridge
commit 2d2540faa9
2 changed files with 18 additions and 10 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jun 18 13:26:56 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>
@ -176,6 +182,12 @@ Thu Aug 15 07:21:49 UTC 2019 - Dr. Werner Fink <werner@suse.de>
- 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 <werner@suse.de>
- 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 <werner@suse.de>

View File

@ -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