From 541edb80b7e20529ee2a6d1dbf311c39b94a424bf68c6b4aca2034c2cace0161 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 19 Apr 2010 19:43:48 +0000 Subject: [PATCH] Accepting request 38212 from home:sndirsch:branches:graphics Copy from home:sndirsch:branches:graphics/xfig via accept of submit request 38212 revision 2. Request was accepted with message: Reviewed ok OBS-URL: https://build.opensuse.org/request/show/38212 OBS-URL: https://build.opensuse.org/package/show/graphics/xfig?expand=0&rev=7 --- xfig.changes | 5 +++++ xfig.spec | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/xfig.changes b/xfig.changes index ff612f5..865799d 100644 --- a/xfig.changes +++ b/xfig.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 19 11:29:36 CEST 2010 - sndirsch@suse.de + +- fixed libpng buildrequires for openSUSE >= 11.3 + ------------------------------------------------------------------- Mon Dec 14 14:08:05 CET 2009 - werner@suse.de diff --git a/xfig.spec b/xfig.spec index af2246e..64d1c4a 100644 --- a/xfig.spec +++ b/xfig.spec @@ -19,7 +19,12 @@ Name: xfig -BuildRequires: flex freetype2-devel libjpeg-devel libpng-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +BuildRequires: flex freetype2-devel libjpeg-devel netpbm update-desktop-files xaw3d-devel xorg-x11 xorg-x11-devel +%if 0%{?suse_version} > 1120 +BuildRequires: libpng12-devel libpng12-compat-devel +%else +BuildRequires: libpng-devel +%endif License: PERMISSIVE-OSI-COMPLIANT Group: Productivity/Graphics/Vector Editors Provides: xfig.3.2.3d