From 04920accc8b3985422aaf1f6896e6348bf1e52e431518c2de968b5e62b81fccf Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 17 Aug 2007 16:47:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/graphviz?expand=0&rev=12 --- graphviz-plugins.changes | 6 ++++++ graphviz-plugins.spec | 12 ++++++++++-- graphviz.spec | 5 +++-- 3 files changed, 19 insertions(+), 4 deletions(-) diff --git a/graphviz-plugins.changes b/graphviz-plugins.changes index 9c6e6e3..c5cc490 100644 --- a/graphviz-plugins.changes +++ b/graphviz-plugins.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 16 12:32:06 CEST 2007 - pth@suse.de + +- Add missing BuildRequires for fdupes +- Guard fdupes by check for suse_version + ------------------------------------------------------------------- Mon Aug 13 19:23:50 CEST 2007 - pth@suse.de diff --git a/graphviz-plugins.spec b/graphviz-plugins.spec index 646ca6c..b6c1f88 100644 --- a/graphviz-plugins.spec +++ b/graphviz-plugins.spec @@ -20,8 +20,11 @@ BuildRequires: php5-devel ruby-devel xorg-x11-libICE-devel xorg-x11-libSM-devel BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel BuildRequires: cairo-devel gcc-java gmp-devel guile-devel libgcj-devel lua-devel mono-core ocaml pango-devel BuildRequires: graphviz libgnomeui-devel php5-devel +%if 0%{?suse_version} > 1020 +BuildRequires: fdupes +%endif Version: 2.12 -Release: 9 +Release: 10 Autoreqprov: on Summary: Graph Visualization Tools Group: Productivity/Graphics/Visualization/Graph @@ -390,8 +393,10 @@ mv %{buildroot}%{_libdir}/%{mname}/perl/gv_perl.man %{buildroot}%{_mandir}/man3/ for lang in ruby python lua ocaml sharp guile php; do mv %{buildroot}%{_libdir}/%{mname}/$lang/gv_$lang.man %{buildroot}%{_mandir}/man3/gv_$lang.3 done +%if 0%{?suse_version} > 1020 -%fdupes %{buildroot}%{_docdir} +%fdupes -s %{buildroot}%{_docdir} +%endif %clean rm -rf %{buildroot} @@ -464,6 +469,9 @@ if ! test -x $RPM_INSTALL_PREFIX0/bin/dot; then rm -f $RPM_INSTALL_PREFIX0/%{_li %doc __doc/* %changelog +* Thu Aug 16 2007 - pth@suse.de +- Add missing BuildRequires for fdupes +- Guard fdupes by check for suse_version * Mon Aug 13 2007 - pth@suse.de - lib/sfio/sfhdr.h(SFSETLOCALE): fix test for null pointer. - Fix include paths for php5 diff --git a/graphviz.spec b/graphviz.spec index cecdbc3..ff8780f 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -11,13 +11,13 @@ # norootforbuild Name: graphviz -BuildRequires: libexpat-devel libjpeg-devel libpng-devel zlib-devel +BuildRequires: fdupes libexpat-devel libjpeg-devel libpng-devel zlib-devel BuildRequires: freetype2-devel >= 2 gcc-c++ ksh libstdc++-devel BuildRequires: bison flex glib2-devel xorg-x11-devel BuildRequires: xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libXpm-devel BuildRequires: xorg-x11-libX11-devel xorg-x11-libXext-devel xorg-x11-libXmu-devel xorg-x11-libXt-devel Version: 2.12 -Release: 35 +Release: 37 Autoreqprov: on Summary: Graph Visualization Tools Group: Productivity/Graphics/Visualization/Graph @@ -38,6 +38,7 @@ License: IBM Public License Prefix: /usr BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: /bin/cat +Recommends: graphviz-gd %description A collection of tools and tcl packages for the manipulation and layout