From dfccd2d06b8165930745d3c79a501be15345dc9d1008e4e063415f7326fb2925 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Wed, 30 May 2012 11:49:39 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=24 --- xfig.3.2.5b.tar.bz2 | 4 ++-- xfig.changes | 5 +++++ xfig.spec | 36 +++++++++++++++++++++++++----------- 3 files changed, 32 insertions(+), 13 deletions(-) diff --git a/xfig.3.2.5b.tar.bz2 b/xfig.3.2.5b.tar.bz2 index c59a384..ccd8ed8 100644 --- a/xfig.3.2.5b.tar.bz2 +++ b/xfig.3.2.5b.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:16db346465543698ae0fe56f018c9b87690a330d149e1cb2868c248dd05ac7c9 -size 5349266 +oid sha256:093f20033e408c351470a4d2dd87cc2299039629d6e56b73e7b09c73901e855b +size 5351368 diff --git a/xfig.changes b/xfig.changes index 5d22057..3d8591a 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 30 11:48:30 UTC 2012 - werner@suse.de + +- Remove forbidden file aircraft.fig (bnc#754676) + ------------------------------------------------------------------- Fri Oct 21 09:40:57 UTC 2011 - werner@suse.de diff --git a/xfig.spec b/xfig.spec index 4266b01..c5d57ef 100644 --- a/xfig.spec +++ b/xfig.spec @@ -1,7 +1,7 @@ # # spec file for package xfig # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,25 +15,38 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: xfig -BuildRequires: flex freetype2-devel libjpeg-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +BuildRequires: flex +BuildRequires: freetype2-devel +BuildRequires: libjpeg-devel +BuildRequires: netpbm +BuildRequires: update-desktop-files +BuildRequires: xaw3d-devel +BuildRequires: xorg-x11 +BuildRequires: xorg-x11-devel %if 0%{?suse_version} > 1120 -BuildRequires: libpng12-compat-devel libpng12-devel +BuildRequires: libpng12-compat-devel +BuildRequires: libpng12-devel %else BuildRequires: libpng-devel %endif +Provides: xfig.3.2.3d +Requires: ghostscript-fonts-std +Requires: netpbm +Requires: transfig +Version: 3.2.5b +Release: 0 +Summary: Facility for Interactive Generation of Figures under the X Window System License: PERMISSIVE-OSI-COMPLIANT Group: Productivity/Graphics/Vector Editors -Provides: xfig.3.2.3d -Requires: transfig netpbm ghostscript-fonts-std -AutoReqProv: on -Version: 3.2.5b -Release: 16 -Summary: Facility for Interactive Generation of Figures under the X Window System Url: http://www.xfig.org/ +# +# Remove forbidden files: aircraft.fig +# bunzip2 xfig.3.2.5b.tar +# tar -f xfig.3.2.5b.tar --delete xfig.3.2.5b/Libraries/Examples/aircraft.fig +# bzip2 xfig.3.2.5b.tar +# Source: xfig.%{version}.tar.bz2 Source1: font-test.fig Source2: browser @@ -99,6 +112,7 @@ find -type f | xargs -r chmod a-x,go-w %patch10 -p0 -b .preview %patch11 -p0 -b .vsprintf cp %{S:1} . +test ! -e Libraries/Examples/aircraft.fig || { echo forbidden file found 1>&2; exit 1; } %build xmkmf -a -D_DATA='%{_data}' -DStandardDefines=''