From 13667de0485397d28f1ff8d464c0abbf6e09e4dcd059faba018ac071e95ea6b5 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Fri, 26 Jan 2018 00:10:15 +0000 Subject: [PATCH 1/7] Accepting request 569723 from home:dimstar:Factory Move to guile-2.2 on CODE15 OBS-URL: https://build.opensuse.org/request/show/569723 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=126 --- graphviz-addons.changes | 6 ++++++ graphviz-addons.spec | 9 ++++++++- graphviz.changes | 6 ++++++ graphviz.spec | 9 ++++++++- 4 files changed, 28 insertions(+), 2 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index d744b42..7dc1da3 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 25 16:12:41 UTC 2018 - dimstar@opensuse.org + +- Move to pkgconfig(guile-2.2) BuildRequires on suse_version >= + 1500. + ------------------------------------------------------------------- Tue Jan 16 13:50:45 UTC 2018 - dimstar@opensuse.org diff --git a/graphviz-addons.spec b/graphviz-addons.spec index e229259..9b3182d 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz-addons # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -88,7 +88,11 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) BuildRequires: pkgconfig(gts) +%if 0%{?suse_version} >= 1500 +BuildRequires: pkgconfig(guile-2.2) +%else BuildRequires: pkgconfig(guile-2.0) +%endif BuildRequires: pkgconfig(ijs) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(librsvg-2.0) @@ -285,6 +289,9 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 +%if 0%{?suse_version} >= 1500 +sed "s/guile-2.0/guile-2.2/" configure.ac +%endif rm -f contrib/gprof2dot.awk diff --git a/graphviz.changes b/graphviz.changes index d744b42..7dc1da3 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jan 25 16:12:41 UTC 2018 - dimstar@opensuse.org + +- Move to pkgconfig(guile-2.2) BuildRequires on suse_version >= + 1500. + ------------------------------------------------------------------- Tue Jan 16 13:50:45 UTC 2018 - dimstar@opensuse.org diff --git a/graphviz.spec b/graphviz.spec index 4c3a5d7..f83f901 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -1,7 +1,7 @@ # # spec file for package graphviz # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -88,7 +88,11 @@ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) BuildRequires: pkgconfig(gts) +%if 0%{?suse_version} >= 1500 +BuildRequires: pkgconfig(guile-2.2) +%else BuildRequires: pkgconfig(guile-2.0) +%endif BuildRequires: pkgconfig(ijs) BuildRequires: pkgconfig(libglade-2.0) BuildRequires: pkgconfig(librsvg-2.0) @@ -285,6 +289,9 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 +%if 0%{?suse_version} >= 1500 +sed "s/guile-2.0/guile-2.2/" configure.ac +%endif rm -f contrib/gprof2dot.awk From 8d59e14d73263b0d223d12e03e5dc68004b5ab35d420f3d8e8e6d99a998caf98 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 19 Feb 2018 07:17:20 +0000 Subject: [PATCH 2/7] Accepting request 575264 from home:StefanBruens:branches:graphics Make build reproducible - Drop harmful modification of tclpkg/gv/gv_doc_langs.tcl, which changes the timestamp, although the file does not contain LIB_DIR. Graphviz ships prebuilt manpages in man and PDF format. Modifying the tcl script rebuilt the documentation, and replaced the PDFs with empty documents (due to missing groff). This also made the doc subpackage nonreproducible, causing rebuilds in all dependent packages. - Disable guile 2.2 modifications temporarily - Move lefty/dotty/lneato graph editor tools to x11 subpackage and build as part of addons package. Removes any X11 dependency from core package, both build and runtime. - Drop unused libXaw6 build dependency - move libpng, libjpeg, freetype and fontconfig build dependencies to addons, unused for core OBS-URL: https://build.opensuse.org/request/show/575264 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=127 --- graphviz-addons.changes | 22 +++++++++++++++ graphviz-addons.spec | 62 ++++++++++++++++++++++++----------------- graphviz.changes | 22 +++++++++++++++ graphviz.spec | 62 ++++++++++++++++++++++++----------------- 4 files changed, 116 insertions(+), 52 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index 7dc1da3..bbf25ba 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Feb 10 17:36:20 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Drop harmful modification of tclpkg/gv/gv_doc_langs.tcl, which + changes the timestamp, although the file does not contain LIB_DIR. + Graphviz ships prebuilt manpages in man and PDF format. Modifying + the tcl script rebuilt the documentation, and replaced the PDFs + with empty documents (due to missing groff). This also made the + doc subpackage nonreproducible, causing rebuilds in all dependent + packages. + +------------------------------------------------------------------- +Thu Feb 8 18:22:25 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Disable guile 2.2 modifications temporarily +- Move lefty/dotty/lneato graph editor tools to x11 subpackage and + build as part of addons package. Removes any X11 dependency from + core package, both build and runtime. +- Drop unused libXaw6 build dependency +- move libpng, libjpeg, freetype and fontconfig build dependencies + to addons, unused for core + ------------------------------------------------------------------- Thu Jan 25 16:12:41 UTC 2018 - dimstar@opensuse.org diff --git a/graphviz-addons.spec b/graphviz-addons.spec index 9b3182d..32ca853 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -55,26 +55,17 @@ BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(expat) -BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(freetype2) >= 2 -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(ice) -BuildRequires: pkgconfig(sm) -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xaw6) -BuildRequires: pkgconfig(xaw7) -BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(zlib) Requires: graphviz-plugins-core = %{version} Recommends: graphviz-gd = %{version} %if %{with extras} BuildRequires: freeglut-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel BuildRequires: perl BuildRequires: php7-devel BuildRequires: ruby-devel @@ -83,12 +74,20 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) >= 2 BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) BuildRequires: pkgconfig(gts) -%if 0%{?suse_version} >= 1500 +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xext) +# Disabled until guile 2.2 lands +%if 0 && 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(guile-2.2) %else BuildRequires: pkgconfig(guile-2.0) @@ -169,6 +168,15 @@ Requires: java A collection of tools and tcl packages for the manipulation and layout of graphs (as in nodes and edges, not as in bar charts). +%package -n graphviz-x11 +Summary: Graph editors based on X11 +Group: Productivity/Graphics/Visualization/Graph +Requires: graphviz + +%description -n graphviz-x11 +The lefty/dotty/lneato X11 graph editors included with graphviz, +packaged separately to reduce build dependencies. + %package -n graphviz-lua Summary: Lua extension for graphviz Group: Productivity/Graphics/Visualization/Graph @@ -289,17 +297,12 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 -%if 0%{?suse_version} >= 1500 -sed "s/guile-2.0/guile-2.2/" configure.ac +%if 0 && 0%{?suse_version} >= 1500 +sed "s/guile-2.0/guile-2.2/" -i configure.ac %endif rm -f contrib/gprof2dot.awk -# Fix path in generated man pages -sed -i \ - -e 's$@LIB_DIR@$%{_libdir}$g' \ - tclpkg/gv/gv_doc_langs.tcl - # Fix path for lua install sed -i \ -e 's@LUA_INSTALL_DIR="/usr.*@LUA_INSTALL_DIR=%{lua_archdir}@' \ @@ -317,7 +320,6 @@ export CFLAGS="$CFLAGS" export CPPFLAGS="$CFLAGS" export LDFLAGS="-pie" %configure \ - --with-x \ --disable-static \ --without-included-ltdl \ --disable-ltdl-install \ @@ -325,6 +327,7 @@ export LDFLAGS="-pie" --without-ming \ --disable-io \ %if %{with extras} + --with-x \ --with-qt \ --with-smyrna \ %else @@ -385,7 +388,6 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs -rm -rf %{buildroot}%{_datadir}/graphviz/lefty rm -rf %{buildroot}%{_datadir}/graphviz/gvpr rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 @@ -394,7 +396,7 @@ rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_core* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_dot_layout* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_neato_layout* # binaries removal -for i in acyclic bcomps ccomps circo cluster dijkstra dot dot2gxl dot_builtins dotty edgepaint fdp gc gml2gv graphml2gv gv2gml gv2gxl gvcolor gvgen gvmap gvmap.sh gvpack gvpr gxl2dot gxl2gv lefty lneato mm2gv neato nop osage patchwork prune sccmap sfdp tred twopi unflatten vimdot; do +for i in acyclic bcomps ccomps circo cluster dijkstra dot dot2gxl dot_builtins edgepaint fdp gc gml2gv graphml2gv gv2gml gv2gxl gvcolor gvgen gvmap gvmap.sh gvpack gvpr gxl2dot gxl2gv mm2gv neato nop osage patchwork prune sccmap sfdp tred twopi unflatten vimdot; do rm -f %{buildroot}%{_bindir}/$i rm -f %{buildroot}%{_mandir}/man1/$i.1 done @@ -424,6 +426,8 @@ rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib* # This is part of the gd subpkg only rm -f %{buildroot}%{_mandir}/man1/diffimg.1 +# This is part of the x11 subpkg only +rm -rf %{buildroot}%{_datadir}/graphviz/lefty %endif # Remove wrongly located docs rm -rf %{buildroot}%{_datadir}/%{mname}/doc @@ -497,6 +501,16 @@ fi %{lua_archdir}/gv.so %{_mandir}/man3/gv.3lua%{ext_man} +%files -n graphviz-x11 +%doc COPYING +%{_bindir}/dotty +%{_bindir}/lefty +%{_bindir}/lneato +%{_datadir}/%{mname}/lefty +%{_mandir}/man1/dotty.1%{ext_man} +%{_mandir}/man1/lefty.1%{ext_man} +%{_mandir}/man1/lneato.1%{ext_man} + %if %{with ocaml} %files -n graphviz-ocaml %{_libdir}/graphviz/ocaml @@ -549,7 +563,6 @@ fi %{_bindir}/dot %{_bindir}/dot2gxl %{_bindir}/dot_builtins -%{_bindir}/dotty %{_bindir}/edgepaint %{_bindir}/fdp %{_bindir}/gc @@ -565,8 +578,6 @@ fi %{_bindir}/gvpr %{_bindir}/gxl2dot %{_bindir}/gxl2gv -%{_bindir}/lefty -%{_bindir}/lneato %{_bindir}/mm2gv %{_bindir}/neato %{_bindir}/nop @@ -579,7 +590,6 @@ fi %{_bindir}/twopi %{_bindir}/unflatten %dir %{_datadir}/%{mname} -%{_datadir}/%{mname}/lefty %{_datadir}/%{mname}/graphs %dir %{_datadir}/%{mname}/gvpr %{_datadir}/%{mname}/gvpr/addranks diff --git a/graphviz.changes b/graphviz.changes index 7dc1da3..bbf25ba 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Sat Feb 10 17:36:20 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Drop harmful modification of tclpkg/gv/gv_doc_langs.tcl, which + changes the timestamp, although the file does not contain LIB_DIR. + Graphviz ships prebuilt manpages in man and PDF format. Modifying + the tcl script rebuilt the documentation, and replaced the PDFs + with empty documents (due to missing groff). This also made the + doc subpackage nonreproducible, causing rebuilds in all dependent + packages. + +------------------------------------------------------------------- +Thu Feb 8 18:22:25 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Disable guile 2.2 modifications temporarily +- Move lefty/dotty/lneato graph editor tools to x11 subpackage and + build as part of addons package. Removes any X11 dependency from + core package, both build and runtime. +- Drop unused libXaw6 build dependency +- move libpng, libjpeg, freetype and fontconfig build dependencies + to addons, unused for core + ------------------------------------------------------------------- Thu Jan 25 16:12:41 UTC 2018 - dimstar@opensuse.org diff --git a/graphviz.spec b/graphviz.spec index f83f901..07c93c1 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -55,26 +55,17 @@ BuildRequires: bison BuildRequires: fdupes BuildRequires: flex BuildRequires: gcc-c++ -BuildRequires: libjpeg-devel -BuildRequires: libpng-devel BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(expat) -BuildRequires: pkgconfig(fontconfig) -BuildRequires: pkgconfig(freetype2) >= 2 -BuildRequires: pkgconfig(glib-2.0) -BuildRequires: pkgconfig(ice) -BuildRequires: pkgconfig(sm) -BuildRequires: pkgconfig(x11) -BuildRequires: pkgconfig(xaw6) -BuildRequires: pkgconfig(xaw7) -BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(zlib) Requires: graphviz-plugins-core = %{version} Recommends: graphviz-gd = %{version} %if %{with extras} BuildRequires: freeglut-devel +BuildRequires: libjpeg-devel +BuildRequires: libpng-devel BuildRequires: perl BuildRequires: php7-devel BuildRequires: ruby-devel @@ -83,12 +74,20 @@ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(cairo) +BuildRequires: pkgconfig(fontconfig) +BuildRequires: pkgconfig(freetype2) >= 2 BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) BuildRequires: pkgconfig(gts) -%if 0%{?suse_version} >= 1500 +BuildRequires: pkgconfig(ice) +BuildRequires: pkgconfig(sm) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xext) +# Disabled until guile 2.2 lands +%if 0 && 0%{?suse_version} >= 1500 BuildRequires: pkgconfig(guile-2.2) %else BuildRequires: pkgconfig(guile-2.0) @@ -169,6 +168,15 @@ Requires: java A collection of tools and tcl packages for the manipulation and layout of graphs (as in nodes and edges, not as in bar charts). +%package -n graphviz-x11 +Summary: Graph editors based on X11 +Group: Productivity/Graphics/Visualization/Graph +Requires: graphviz + +%description -n graphviz-x11 +The lefty/dotty/lneato X11 graph editors included with graphviz, +packaged separately to reduce build dependencies. + %package -n graphviz-lua Summary: Lua extension for graphviz Group: Productivity/Graphics/Visualization/Graph @@ -289,17 +297,12 @@ programs that use the graphviz libraries including man3 pages. %patch6 %patch7 %patch8 -%if 0%{?suse_version} >= 1500 -sed "s/guile-2.0/guile-2.2/" configure.ac +%if 0 && 0%{?suse_version} >= 1500 +sed "s/guile-2.0/guile-2.2/" -i configure.ac %endif rm -f contrib/gprof2dot.awk -# Fix path in generated man pages -sed -i \ - -e 's$@LIB_DIR@$%{_libdir}$g' \ - tclpkg/gv/gv_doc_langs.tcl - # Fix path for lua install sed -i \ -e 's@LUA_INSTALL_DIR="/usr.*@LUA_INSTALL_DIR=%{lua_archdir}@' \ @@ -317,7 +320,6 @@ export CFLAGS="$CFLAGS" export CPPFLAGS="$CFLAGS" export LDFLAGS="-pie" %configure \ - --with-x \ --disable-static \ --without-included-ltdl \ --disable-ltdl-install \ @@ -325,6 +327,7 @@ export LDFLAGS="-pie" --without-ming \ --disable-io \ %if %{with extras} + --with-x \ --with-qt \ --with-smyrna \ %else @@ -385,7 +388,6 @@ rm -rf %{buildroot}%{_libdir}/pkgconfig rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs -rm -rf %{buildroot}%{_datadir}/graphviz/lefty rm -rf %{buildroot}%{_datadir}/graphviz/gvpr rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 @@ -394,7 +396,7 @@ rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_core* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_dot_layout* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_neato_layout* # binaries removal -for i in acyclic bcomps ccomps circo cluster dijkstra dot dot2gxl dot_builtins dotty edgepaint fdp gc gml2gv graphml2gv gv2gml gv2gxl gvcolor gvgen gvmap gvmap.sh gvpack gvpr gxl2dot gxl2gv lefty lneato mm2gv neato nop osage patchwork prune sccmap sfdp tred twopi unflatten vimdot; do +for i in acyclic bcomps ccomps circo cluster dijkstra dot dot2gxl dot_builtins edgepaint fdp gc gml2gv graphml2gv gv2gml gv2gxl gvcolor gvgen gvmap gvmap.sh gvpack gvpr gxl2dot gxl2gv mm2gv neato nop osage patchwork prune sccmap sfdp tred twopi unflatten vimdot; do rm -f %{buildroot}%{_bindir}/$i rm -f %{buildroot}%{_mandir}/man1/$i.1 done @@ -424,6 +426,8 @@ rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib* # This is part of the gd subpkg only rm -f %{buildroot}%{_mandir}/man1/diffimg.1 +# This is part of the x11 subpkg only +rm -rf %{buildroot}%{_datadir}/graphviz/lefty %endif # Remove wrongly located docs rm -rf %{buildroot}%{_datadir}/%{mname}/doc @@ -497,6 +501,16 @@ fi %{lua_archdir}/gv.so %{_mandir}/man3/gv.3lua%{ext_man} +%files -n graphviz-x11 +%doc COPYING +%{_bindir}/dotty +%{_bindir}/lefty +%{_bindir}/lneato +%{_datadir}/%{mname}/lefty +%{_mandir}/man1/dotty.1%{ext_man} +%{_mandir}/man1/lefty.1%{ext_man} +%{_mandir}/man1/lneato.1%{ext_man} + %if %{with ocaml} %files -n graphviz-ocaml %{_libdir}/graphviz/ocaml @@ -549,7 +563,6 @@ fi %{_bindir}/dot %{_bindir}/dot2gxl %{_bindir}/dot_builtins -%{_bindir}/dotty %{_bindir}/edgepaint %{_bindir}/fdp %{_bindir}/gc @@ -565,8 +578,6 @@ fi %{_bindir}/gvpr %{_bindir}/gxl2dot %{_bindir}/gxl2gv -%{_bindir}/lefty -%{_bindir}/lneato %{_bindir}/mm2gv %{_bindir}/neato %{_bindir}/nop @@ -579,7 +590,6 @@ fi %{_bindir}/twopi %{_bindir}/unflatten %dir %{_datadir}/%{mname} -%{_datadir}/%{mname}/lefty %{_datadir}/%{mname}/graphs %dir %{_datadir}/%{mname}/gvpr %{_datadir}/%{mname}/gvpr/addranks From 4c100682320ea7ffd1091d74faad7bc6f5a5b4c847f1d638d18821f44b07efc7 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 20 Feb 2018 15:39:34 +0000 Subject: [PATCH 3/7] OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=128 --- graphviz-addons.spec | 3 +++ graphviz.spec | 3 +++ 2 files changed, 6 insertions(+) diff --git a/graphviz-addons.spec b/graphviz-addons.spec index 32ca853..f96bff9 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -389,6 +389,9 @@ rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs rm -rf %{buildroot}%{_datadir}/graphviz/gvpr +rm -f %{buildroot}%{_mandir}/man1/dotty*1* +rm -f %{buildroot}%{_mandir}/man1/lefty*1* +rm -f %{buildroot}%{_mandir}/man1/lneato*1* rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 rm -f %{buildroot}%{_libdir}/graphviz/%{config_file} diff --git a/graphviz.spec b/graphviz.spec index 07c93c1..145f981 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -389,6 +389,9 @@ rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs rm -rf %{buildroot}%{_datadir}/graphviz/gvpr +rm -f %{buildroot}%{_mandir}/man1/dotty*1* +rm -f %{buildroot}%{_mandir}/man1/lefty*1* +rm -f %{buildroot}%{_mandir}/man1/lneato*1* rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 rm -f %{buildroot}%{_libdir}/graphviz/%{config_file} From a6af48d842146d49a27f9f41ec8be04ddd83e6148c57c3500092790e1d504df2 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 2 Apr 2018 14:52:00 +0000 Subject: [PATCH 4/7] Accepting request 591758 from home:StefanBruens:branches:graphics - Build with PHP5 for Leap 42.x and earlier, PHP7 requires swig 3.0.11 Drop graphviz-plugins-fix_install_dirs.patch, use sed script to fix directories, same as for Lua - Do not delete dotty/lefty/lneato man pages which are part of the x11 subpackage, built from the addons package/spec. (No changelog entry). - Build with PHP5 for Leap 42.x and earlier, PHP7 requires swig 3.0.11 Drop graphviz-plugins-fix_install_dirs.patch, use sed script to fix directories, same as for Lua - Do not delete dotty/lefty/lneato man pages which are part of the x11 subpackage, built from the addons package/spec. (No changelog entry). OBS-URL: https://build.opensuse.org/request/show/591758 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=129 --- graphviz-addons.changes | 14 ++++++++ graphviz-addons.spec | 28 ++++++++++------ graphviz-plugins-fix_install_dirs.patch | 44 ------------------------- graphviz.changes | 14 ++++++++ graphviz.spec | 28 ++++++++++------ 5 files changed, 64 insertions(+), 64 deletions(-) delete mode 100644 graphviz-plugins-fix_install_dirs.patch diff --git a/graphviz-addons.changes b/graphviz-addons.changes index bbf25ba..65e508f 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Mar 27 20:12:49 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Build with PHP5 for Leap 42.x and earlier, PHP7 requires swig 3.0.11 + Drop graphviz-plugins-fix_install_dirs.patch, use sed script to + fix directories, same as for Lua + +------------------------------------------------------------------- +Tue Mar 27 19:53:42 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Do not delete dotty/lefty/lneato man pages which are part of + the x11 subpackage, built from the addons package/spec. + (No changelog entry). + ------------------------------------------------------------------- Sat Feb 10 17:36:20 UTC 2018 - stefan.bruens@rwth-aachen.de diff --git a/graphviz-addons.spec b/graphviz-addons.spec index f96bff9..e69e220 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -26,6 +26,12 @@ # Java and ocaml are not in ring1, thus this gets overriden in staging %bcond_without java %bcond_with ocaml +# PHP7 requires swig >= 3.0.11, not available on Leap 42.x +%if 0%{?suse_version} >= 1500 +%define php_version 7 +%else +%define php_version 5 +%endif Name: graphviz-addons Version: 2.40.1 Release: 0 @@ -44,7 +50,6 @@ Patch2: graphviz-fix-pkgIndex.patch Patch3: graphviz-array_overflow.patch #PATCH-FIX-UPSTREAM Make build reproducible - merged in next release Patch4: reproducible.patch -Patch5: graphviz-plugins-fix_install_dirs.patch Patch6: graphviz-2.20.2-interpreter_names.patch #PATCH-FIX-UPSTREAM Don't warn about harmless issues with swig generated code Patch7: graphviz-useless_warnings.patch @@ -67,9 +72,14 @@ BuildRequires: freeglut-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: perl +%if 0%{?suse_version} >= 1500 BuildRequires: php7-devel -BuildRequires: ruby-devel +BuildRequires: swig >= 3.0.11 +%else +BuildRequires: php5-devel BuildRequires: swig +%endif +BuildRequires: ruby-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) @@ -211,7 +221,7 @@ tools. Summary: PHP Extension for Graphviz Group: Productivity/Graphics/Visualization/Graph Requires: graphviz = %{version} -Requires: php7 +Requires: php%{php_version} %description -n graphviz-php The graphviz-php package contains the PHP extension for the graphviz @@ -293,7 +303,6 @@ programs that use the graphviz libraries including man3 pages. %patch2 %patch3 %patch4 -p1 -%patch5 %patch6 %patch7 %patch8 @@ -303,9 +312,11 @@ sed "s/guile-2.0/guile-2.2/" -i configure.ac rm -f contrib/gprof2dot.awk -# Fix path for lua install +# Fix path for lua/php install sed -i \ -e 's@LUA_INSTALL_DIR="/usr.*@LUA_INSTALL_DIR=%{lua_archdir}@' \ + -e 's@\(PHP_INSTALL_DIR=.*\)/php/modules@\1/php%{php_version}/extensions@' \ + -e 's@\(PHP_INSTALL_DATADIR=.*\)/php@\1/php%{php_version}@' \ configure.ac %build @@ -389,9 +400,6 @@ rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs rm -rf %{buildroot}%{_datadir}/graphviz/gvpr -rm -f %{buildroot}%{_mandir}/man1/dotty*1* -rm -f %{buildroot}%{_mandir}/man1/lefty*1* -rm -f %{buildroot}%{_mandir}/man1/lneato*1* rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 rm -f %{buildroot}%{_libdir}/graphviz/%{config_file} @@ -526,8 +534,8 @@ fi %{_mandir}/man3/gv.3perl%{ext_man} %files -n graphviz-php -%{_libdir}/php7/extensions/gv.so -%{_datadir}/php7/gv.php +%{_libdir}/php%{php_version}/extensions/gv.so +%{_datadir}/php%{php_version}/gv.php %{_mandir}/man3/gv.3php%{ext_man} %files -n graphviz-python diff --git a/graphviz-plugins-fix_install_dirs.patch b/graphviz-plugins-fix_install_dirs.patch deleted file mode 100644 index 5c11f26..0000000 --- a/graphviz-plugins-fix_install_dirs.patch +++ /dev/null @@ -1,44 +0,0 @@ ---- - configure | 6 +++--- - configure.ac | 4 ++-- - 2 files changed, 5 insertions(+), 5 deletions(-) - -Index: configure -=================================================================== ---- configure.orig -+++ configure -@@ -22158,8 +22158,8 @@ test -n "$PHP" || PHP="php" - PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib" - fi - fi -- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules" -- PHP_INSTALL_DATADIR="/usr/share/php" -+ PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php7/extensions" -+ PHP_INSTALL_DATADIR="/usr/share/php7" - PHP_LIBS= - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" -@@ -23834,7 +23834,7 @@ $as_echo "using $TCLCONFIG" >&6; } - $as_echo "$as_me: WARNING: Unable to find tclConfig.sh. The Tcl packages will not be built" >&2;} - use_tcl="No (missing tclConfig.sh)" - fi -- TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX}/tcl${TCL_VERSION_FOUND}" -+ TCL_INSTALL_DIR="${TCLSH_EXEC_PREFIX}/lib${LIBPOSTFIX} - fi - - if test "x$use_tcl" = "x"; then -Index: configure.ac -=================================================================== ---- configure.ac.orig -+++ configure.ac -@@ -1102,8 +1102,8 @@ else - PHP_INCLUDES="-I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib" - fi - fi -- PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php/modules" -- PHP_INSTALL_DATADIR="/usr/share/php" -+ PHP_INSTALL_DIR="/usr/lib${LIBPOSTFIX}/php7/extensions" -+ PHP_INSTALL_DATADIR="/usr/share/php7" - PHP_LIBS= - save_CPPFLAGS=$CPPFLAGS - CPPFLAGS="$CPPFLAGS $PHP_INCLUDES" diff --git a/graphviz.changes b/graphviz.changes index bbf25ba..65e508f 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Tue Mar 27 20:12:49 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Build with PHP5 for Leap 42.x and earlier, PHP7 requires swig 3.0.11 + Drop graphviz-plugins-fix_install_dirs.patch, use sed script to + fix directories, same as for Lua + +------------------------------------------------------------------- +Tue Mar 27 19:53:42 UTC 2018 - stefan.bruens@rwth-aachen.de + +- Do not delete dotty/lefty/lneato man pages which are part of + the x11 subpackage, built from the addons package/spec. + (No changelog entry). + ------------------------------------------------------------------- Sat Feb 10 17:36:20 UTC 2018 - stefan.bruens@rwth-aachen.de diff --git a/graphviz.spec b/graphviz.spec index 145f981..779d1c6 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -26,6 +26,12 @@ # Java and ocaml are not in ring1, thus this gets overriden in staging %bcond_without java %bcond_with ocaml +# PHP7 requires swig >= 3.0.11, not available on Leap 42.x +%if 0%{?suse_version} >= 1500 +%define php_version 7 +%else +%define php_version 5 +%endif Name: graphviz Version: 2.40.1 Release: 0 @@ -44,7 +50,6 @@ Patch2: graphviz-fix-pkgIndex.patch Patch3: graphviz-array_overflow.patch #PATCH-FIX-UPSTREAM Make build reproducible - merged in next release Patch4: reproducible.patch -Patch5: graphviz-plugins-fix_install_dirs.patch Patch6: graphviz-2.20.2-interpreter_names.patch #PATCH-FIX-UPSTREAM Don't warn about harmless issues with swig generated code Patch7: graphviz-useless_warnings.patch @@ -67,9 +72,14 @@ BuildRequires: freeglut-devel BuildRequires: libjpeg-devel BuildRequires: libpng-devel BuildRequires: perl +%if 0%{?suse_version} >= 1500 BuildRequires: php7-devel -BuildRequires: ruby-devel +BuildRequires: swig >= 3.0.11 +%else +BuildRequires: php5-devel BuildRequires: swig +%endif +BuildRequires: ruby-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Widgets) @@ -211,7 +221,7 @@ tools. Summary: PHP Extension for Graphviz Group: Productivity/Graphics/Visualization/Graph Requires: graphviz = %{version} -Requires: php7 +Requires: php%{php_version} %description -n graphviz-php The graphviz-php package contains the PHP extension for the graphviz @@ -293,7 +303,6 @@ programs that use the graphviz libraries including man3 pages. %patch2 %patch3 %patch4 -p1 -%patch5 %patch6 %patch7 %patch8 @@ -303,9 +312,11 @@ sed "s/guile-2.0/guile-2.2/" -i configure.ac rm -f contrib/gprof2dot.awk -# Fix path for lua install +# Fix path for lua/php install sed -i \ -e 's@LUA_INSTALL_DIR="/usr.*@LUA_INSTALL_DIR=%{lua_archdir}@' \ + -e 's@\(PHP_INSTALL_DIR=.*\)/php/modules@\1/php%{php_version}/extensions@' \ + -e 's@\(PHP_INSTALL_DATADIR=.*\)/php@\1/php%{php_version}@' \ configure.ac %build @@ -389,9 +400,6 @@ rm -rf %{buildroot}%{_includedir} rm -rf %{buildroot}%{_datadir}/graphviz/examples rm -rf %{buildroot}%{_datadir}/graphviz/graphs rm -rf %{buildroot}%{_datadir}/graphviz/gvpr -rm -f %{buildroot}%{_mandir}/man1/dotty*1* -rm -f %{buildroot}%{_mandir}/man1/lefty*1* -rm -f %{buildroot}%{_mandir}/man1/lneato*1* rm -f %{buildroot}%{_mandir}/man3/*.3 rm -f %{buildroot}%{_mandir}/man7/*.7 rm -f %{buildroot}%{_libdir}/graphviz/%{config_file} @@ -526,8 +534,8 @@ fi %{_mandir}/man3/gv.3perl%{ext_man} %files -n graphviz-php -%{_libdir}/php7/extensions/gv.so -%{_datadir}/php7/gv.php +%{_libdir}/php%{php_version}/extensions/gv.so +%{_datadir}/php%{php_version}/gv.php %{_mandir}/man3/gv.3php%{ext_man} %files -n graphviz-python From 0d7be93ce7ed2553820f97940e08580c77add2b2656d3757e7886d37ccf5dd5e Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Thu, 2 Aug 2018 09:58:48 +0000 Subject: [PATCH 5/7] Accepting request 626475 from home:bmwiedemann:branches:graphics Extend reproducible.patch to make build reproducible (boo#1041534) also: did the previous patch really go upstream? => marking as OPENSUSE for now OBS-URL: https://build.opensuse.org/request/show/626475 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=130 --- graphviz-addons.changes | 5 +++++ graphviz-addons.spec | 2 +- graphviz.changes | 5 +++++ graphviz.spec | 2 +- reproducible.patch | 27 ++++++++++++++++++++++++++- 5 files changed, 38 insertions(+), 3 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index 65e508f..2848a60 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 30 11:24:20 UTC 2018 - bwiedemann@suse.com + +- Extend reproducible.patch to make build reproducible (boo#1041534) + ------------------------------------------------------------------- Tue Mar 27 20:12:49 UTC 2018 - stefan.bruens@rwth-aachen.de diff --git a/graphviz-addons.spec b/graphviz-addons.spec index e69e220..49b6267 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -48,7 +48,7 @@ Patch1: graphviz-smyrna-link_against_glu.patch Patch2: graphviz-fix-pkgIndex.patch #PATCH-FIX-UPSTREAM Off-by-one bug Patch3: graphviz-array_overflow.patch -#PATCH-FIX-UPSTREAM Make build reproducible - merged in next release +#PATCH-FIX-OPENSUSE Make build reproducible (boo#1041534) Patch4: reproducible.patch Patch6: graphviz-2.20.2-interpreter_names.patch #PATCH-FIX-UPSTREAM Don't warn about harmless issues with swig generated code diff --git a/graphviz.changes b/graphviz.changes index 65e508f..2848a60 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 30 11:24:20 UTC 2018 - bwiedemann@suse.com + +- Extend reproducible.patch to make build reproducible (boo#1041534) + ------------------------------------------------------------------- Tue Mar 27 20:12:49 UTC 2018 - stefan.bruens@rwth-aachen.de diff --git a/graphviz.spec b/graphviz.spec index 779d1c6..c537ee2 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -48,7 +48,7 @@ Patch1: graphviz-smyrna-link_against_glu.patch Patch2: graphviz-fix-pkgIndex.patch #PATCH-FIX-UPSTREAM Off-by-one bug Patch3: graphviz-array_overflow.patch -#PATCH-FIX-UPSTREAM Make build reproducible - merged in next release +#PATCH-FIX-OPENSUSE Make build reproducible (boo#1041534) Patch4: reproducible.patch Patch6: graphviz-2.20.2-interpreter_names.patch #PATCH-FIX-UPSTREAM Don't warn about harmless issues with swig generated code diff --git a/reproducible.patch b/reproducible.patch index a42ed0a..7feaaea 100644 --- a/reproducible.patch +++ b/reproducible.patch @@ -1,12 +1,37 @@ +Author: Bernhard M. Wiedemann +Date: 2018-07-30 + +https://bugzilla.opensuse.org/show_bug.cgi?id=1041534 + Do not have binaries depend on build system timings because we are building in VMs anyway and users might have different hardware +Will always use the system's memchr and memccpy functions. + Index: graphviz-2.38.0/lib/sfio/features/sfio =================================================================== --- graphviz-2.38.0.orig/lib/sfio/features/sfio +++ graphviz-2.38.0/lib/sfio/features/sfio -@@ -260,9 +260,7 @@ tst output{ +@@ -79,7 +79,7 @@ lib memchr note{ see if memchr is fast } + t2 = (etm2.tms_utime - stm2.tms_utime) + + (etm2.tms_stime - stm2.tms_stime); + +- return t1 < t2 ? 0 : 1; ++ return 0; + } + }end + +@@ -120,7 +120,7 @@ lib memccpy note{ see if memccpy is fast + t2 = (etm2.tms_utime - stm2.tms_utime) + + (etm2.tms_stime - stm2.tms_stime); + +- return t1 < t2 ? 0 : 1; ++ return 0; + } + }end + +@@ -250,9 +250,7 @@ tst output{ unlink(file); From 103f8d923077edbe4e81faa81fda6e4cd18b3efece4b493911a5e0d30014ee74 Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 2 Nov 2018 11:47:29 +0000 Subject: [PATCH 6/7] Accepting request 644836 from home:trenn:branches:graphics - Build with gts support (bsc#1108978, bsc#1108976) SLE12 flavors do not provide gts, so explicitly exclude gts support there. - Build with gts support (bsc#1108978, bsc#1108976) SLE12 flavors do not provide gts, so explicitly exclude gts support there. OBS-URL: https://build.opensuse.org/request/show/644836 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=131 --- graphviz-addons.changes | 7 +++++++ graphviz-addons.spec | 10 +++++++++- graphviz.changes | 7 +++++++ graphviz.spec | 10 +++++++++- pre_checkin.sh | 1 + 5 files changed, 33 insertions(+), 2 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index 2848a60..3e70099 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 25 14:52:00 UTC 2018 - trenn@suse.de + +- Build with gts support (bsc#1108978, bsc#1108976) + SLE12 flavors do not provide gts, so explicitly exclude + gts support there. + ------------------------------------------------------------------- Mon Jul 30 11:24:20 UTC 2018 - bwiedemann@suse.com diff --git a/graphviz-addons.spec b/graphviz-addons.spec index 49b6267..6b640c5 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -32,6 +32,12 @@ %else %define php_version 5 %endif +# No pkgconfig(gts) in sle12 GA or SPx, but in sle15 +%if 0%{?suse_version} == 1315 && !0%{?is_opensuse} +%define sle12 1 +%else +%define sle12 0 +%endif Name: graphviz-addons Version: 2.40.1 Release: 0 @@ -64,6 +70,9 @@ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(expat) +%if 0%{sle12} != 1 +BuildRequires: pkgconfig(gts) +%endif BuildRequires: pkgconfig(zlib) Requires: graphviz-plugins-core = %{version} Recommends: graphviz-gd = %{version} @@ -90,7 +99,6 @@ BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) -BuildRequires: pkgconfig(gts) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) diff --git a/graphviz.changes b/graphviz.changes index 2848a60..3e70099 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 25 14:52:00 UTC 2018 - trenn@suse.de + +- Build with gts support (bsc#1108978, bsc#1108976) + SLE12 flavors do not provide gts, so explicitly exclude + gts support there. + ------------------------------------------------------------------- Mon Jul 30 11:24:20 UTC 2018 - bwiedemann@suse.com diff --git a/graphviz.spec b/graphviz.spec index c537ee2..74c7452 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -32,6 +32,12 @@ %else %define php_version 5 %endif +# No pkgconfig(gts) in sle12 GA or SPx, but in sle15 +%if 0%{?suse_version} == 1315 && !0%{?is_opensuse} +%define sle12 1 +%else +%define sle12 0 +%endif Name: graphviz Version: 2.40.1 Release: 0 @@ -64,6 +70,9 @@ BuildRequires: libstdc++-devel BuildRequires: libtool BuildRequires: pkgconfig BuildRequires: pkgconfig(expat) +%if 0%{sle12} != 1 +BuildRequires: pkgconfig(gts) +%endif BuildRequires: pkgconfig(zlib) Requires: graphviz-plugins-core = %{version} Recommends: graphviz-gd = %{version} @@ -90,7 +99,6 @@ BuildRequires: pkgconfig(gdlib) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glu) BuildRequires: pkgconfig(gtkglext-1.0) -BuildRequires: pkgconfig(gts) BuildRequires: pkgconfig(ice) BuildRequires: pkgconfig(sm) BuildRequires: pkgconfig(x11) diff --git a/pre_checkin.sh b/pre_checkin.sh index d20c455..9eb5b10 100644 --- a/pre_checkin.sh +++ b/pre_checkin.sh @@ -3,4 +3,5 @@ cp graphviz.changes graphviz-addons.changes sed \ -e 's:%bcond_with extras:%bcond_without extras:' \ -e 's#Name: graphviz#Name: graphviz-addons#' \ + -e 's#spec file for package graphviz#spec file for package graphviz-addons#' \ graphviz.spec > graphviz-addons.spec From 06c0f40e8e9441721292d9d8b866fd816c296329f24aa4827dcb7f0a9302173a Mon Sep 17 00:00:00 2001 From: Thomas Renninger Date: Fri, 16 Nov 2018 16:16:27 +0000 Subject: [PATCH 7/7] Accepting request 649623 from home:trenn:branches:graphics - Fixed double file declaration in graphviz and graphviz-addons (x11) - Mark license files with %license instead of %doc - Fixed double file declaration in graphviz and graphviz-addons (x11) - Mark license files with %license instead of %doc OBS-URL: https://build.opensuse.org/request/show/649623 OBS-URL: https://build.opensuse.org/package/show/graphics/graphviz?expand=0&rev=132 --- graphviz-addons.changes | 6 ++++++ graphviz-addons.spec | 13 +++++++------ graphviz.changes | 6 ++++++ graphviz.spec | 13 +++++++------ 4 files changed, 26 insertions(+), 12 deletions(-) diff --git a/graphviz-addons.changes b/graphviz-addons.changes index 3e70099..fbe5a32 100644 --- a/graphviz-addons.changes +++ b/graphviz-addons.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 16 15:21:38 UTC 2018 - trenn@suse.de + +- Fixed double file declaration in graphviz and graphviz-addons (x11) +- Mark license files with %license instead of %doc + ------------------------------------------------------------------- Thu Oct 25 14:52:00 UTC 2018 - trenn@suse.de diff --git a/graphviz-addons.spec b/graphviz-addons.spec index 6b640c5..3160e3a 100644 --- a/graphviz-addons.spec +++ b/graphviz-addons.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -444,7 +444,7 @@ rm -rf %{buildroot}%{_libdir}/graphviz/ruby rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib* # This is part of the gd subpkg only -rm -f %{buildroot}%{_mandir}/man1/diffimg.1 +rm -f %{buildroot}%{_mandir}/man1/{diffimg.1*,dotty.1*,lefty.1*,lneato.1*} # This is part of the x11 subpkg only rm -rf %{buildroot}%{_datadir}/graphviz/lefty %endif @@ -466,14 +466,14 @@ fi %if %{with extras} %files -n graphviz-gvedit -%doc COPYING +%license COPYING %{_bindir}/gvedit %dir %{_datadir}/%{mname}/gvedit %{_datadir}/%{mname}/gvedit/attrs.txt %{_mandir}/man1/gvedit.1%{ext_man} %files -n graphviz-smyrna -%doc COPYING +%license COPYING %{_bindir}/smyrna %{_datadir}/%{mname}/smyrna %{_mandir}/man1/smyrna.1%{ext_man} @@ -521,7 +521,7 @@ fi %{_mandir}/man3/gv.3lua%{ext_man} %files -n graphviz-x11 -%doc COPYING +%license COPYING %{_bindir}/dotty %{_bindir}/lefty %{_bindir}/lneato @@ -572,7 +572,8 @@ fi %else %files -%doc doc/FAQ.html AUTHORS COPYING README NEWS ChangeLog +%doc doc/FAQ.html AUTHORS README NEWS ChangeLog +%license COPYING %{_bindir}/acyclic %{_bindir}/bcomps %{_bindir}/ccomps diff --git a/graphviz.changes b/graphviz.changes index 3e70099..fbe5a32 100644 --- a/graphviz.changes +++ b/graphviz.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Nov 16 15:21:38 UTC 2018 - trenn@suse.de + +- Fixed double file declaration in graphviz and graphviz-addons (x11) +- Mark license files with %license instead of %doc + ------------------------------------------------------------------- Thu Oct 25 14:52:00 UTC 2018 - trenn@suse.de diff --git a/graphviz.spec b/graphviz.spec index 74c7452..d5b60f3 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -444,7 +444,7 @@ rm -rf %{buildroot}%{_libdir}/graphviz/ruby rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_pango* rm -f %{buildroot}%{_libdir}/graphviz/libgvplugin_xlib* # This is part of the gd subpkg only -rm -f %{buildroot}%{_mandir}/man1/diffimg.1 +rm -f %{buildroot}%{_mandir}/man1/{diffimg.1*,dotty.1*,lefty.1*,lneato.1*} # This is part of the x11 subpkg only rm -rf %{buildroot}%{_datadir}/graphviz/lefty %endif @@ -466,14 +466,14 @@ fi %if %{with extras} %files -n graphviz-gvedit -%doc COPYING +%license COPYING %{_bindir}/gvedit %dir %{_datadir}/%{mname}/gvedit %{_datadir}/%{mname}/gvedit/attrs.txt %{_mandir}/man1/gvedit.1%{ext_man} %files -n graphviz-smyrna -%doc COPYING +%license COPYING %{_bindir}/smyrna %{_datadir}/%{mname}/smyrna %{_mandir}/man1/smyrna.1%{ext_man} @@ -521,7 +521,7 @@ fi %{_mandir}/man3/gv.3lua%{ext_man} %files -n graphviz-x11 -%doc COPYING +%license COPYING %{_bindir}/dotty %{_bindir}/lefty %{_bindir}/lneato @@ -572,7 +572,8 @@ fi %else %files -%doc doc/FAQ.html AUTHORS COPYING README NEWS ChangeLog +%doc doc/FAQ.html AUTHORS README NEWS ChangeLog +%license COPYING %{_bindir}/acyclic %{_bindir}/bcomps %{_bindir}/ccomps