Compare commits

..

No commits in common. "7513cdf24843536b5723f29172c541ff6e048f96" and "73ae39950df1f75aac6662672cade19e6f4885f2" have entirely different histories.

3 changed files with 5 additions and 99 deletions

View File

@ -1,13 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 49e027f..542c23a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1141,7 +1141,7 @@ else
use_python3="No (python-$PYTHON3_VERSION.pc not found)"
fi
fi
- PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'from distutils import sysconfig; print(sysconfig.get_python_lib(1,0))'`"
+ PYTHON3_INSTALL_DIR="`$PYTHON3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))'`"
save_CPPFLAGS=$CPPFLAGS
CPPFLAGS="$CPPFLAGS $PYTHON3_INCLUDES"
AC_CHECK_HEADER(Python.h,,[

View File

@ -3,24 +3,11 @@
%bcond_with php %bcond_with php
%bcond_with guile %bcond_with guile
%else %else
# temporal drop of PHP support due to https://gitlab.com/graphviz/graphviz/-/issues/2277 %bcond_without php
%bcond_with php
%bcond_without guile %bcond_without guile
%endif %endif
%bcond_with python2 %bcond_with python2
# Macro for creating an option which enables bootstraping build without dependencies,
# which cause problems during rebuilds. Currently it is circular dependency of graphviz and
# doxygen - in case a dependency of graphviz/doxygen bumps SONAME and graphviz/doxygen
# has to be rebuilt, we can break the circular dependency by building with --with bootstrap.
%bcond_with bootstrap
%if 0%{?rhel} >= 10
%bcond_with gtk2
%else
%bcond_without gtk2
%endif
# Necessary conditionals # Necessary conditionals
%ifarch %{mono_arches} %ifarch %{mono_arches}
%global SHARP 1 %global SHARP 1
@ -93,8 +80,8 @@
Name: graphviz Name: graphviz
Summary: Graph Visualization Tools Summary: Graph Visualization Tools
Version: 7.1.0 Version: 6.0.2
Release: 2%{?dist} Release: 3%{?dist}
License: EPL-1.0 License: EPL-1.0
URL: http://www.graphviz.org/ URL: http://www.graphviz.org/
Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
@ -135,9 +122,7 @@ BuildRequires: cairo-devel >= 1.1.10
BuildRequires: pango-devel BuildRequires: pango-devel
BuildRequires: gmp-devel BuildRequires: gmp-devel
BuildRequires: lua-devel BuildRequires: lua-devel
%if %{with gtk2}
BuildRequires: gtk2-devel BuildRequires: gtk2-devel
%endif
BuildRequires: gd-devel BuildRequires: gd-devel
BuildRequires: perl-devel BuildRequires: perl-devel
BuildRequires: swig >= 1.3.33 BuildRequires: swig >= 1.3.33
@ -183,9 +168,7 @@ BuildRequires: poppler-glib-devel
BuildRequires: freeglut-devel BuildRequires: freeglut-devel
BuildRequires: libglade2-devel BuildRequires: libglade2-devel
BuildRequires: gtkglext-devel BuildRequires: gtkglext-devel
%if %{without bootstrap}
BuildRequires: doxygen BuildRequires: doxygen
%endif
%if %{GOLANG} %if %{GOLANG}
BuildRequires: golang BuildRequires: golang
%endif %endif
@ -196,8 +179,6 @@ Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig Requires(postun): /sbin/ldconfig
# rhbz#1838679 # rhbz#1838679
Patch0: graphviz-4.0.0-gvpack-neato-static.patch Patch0: graphviz-4.0.0-gvpack-neato-static.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=2155048
Patch1: graphviz-7.0.6-fix-python-3.12.patch
%if ! %{JAVA} %if ! %{JAVA}
Obsoletes: graphviz-java < %{version}-%{release} Obsoletes: graphviz-java < %{version}-%{release}
@ -253,7 +234,6 @@ Graphviz plugin for renderers based on gd. (Unless you absolutely have to use
GIF, you are recommended to use the PNG format instead because of the better GIF, you are recommended to use the PNG format instead because of the better
quality anti-aliased lines provided by the cairo+pango based renderer.) quality anti-aliased lines provided by the cairo+pango based renderer.)
%if %{with gtk2}
%package gtk2 %package gtk2
Summary: Graphviz plugin for renderers based on gtk2 Summary: Graphviz plugin for renderers based on gtk2
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
@ -262,7 +242,6 @@ Requires(postun): %{_bindir}/dot /sbin/ldconfig
%description gtk2 %description gtk2
Graphviz plugin for renderers based on gtk2. Graphviz plugin for renderers based on gtk2.
%endif
%package graphs %package graphs
Summary: Demo graphs for graphviz Summary: Demo graphs for graphviz
@ -316,6 +295,7 @@ Ocaml extension for graphviz.
%package perl %package perl
Summary: Perl extension for graphviz Summary: Perl extension for graphviz
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description perl %description perl
Perl extension for graphviz. Perl extension for graphviz.
@ -465,10 +445,7 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \ %make_build CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" \
CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}" CXXFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing -fno-strict-overflow %{?FFSTORE}"
%if %{without bootstrap}
make doxygen make doxygen
%endif
%install %install
%make_install docdir=%{_docdir}/%{name} \ %make_install docdir=%{_docdir}/%{name} \
@ -576,7 +553,6 @@ php --no-php-ini \
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig} %{?ldconfig}
%if %{with gtk2}
%post gtk2 %post gtk2
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig} %{?ldconfig}
@ -584,7 +560,6 @@ php --no-php-ini \
%postun gtk2 %postun gtk2
%{_bindir}/dot -c 2>/dev/null || : %{_bindir}/dot -c 2>/dev/null || :
%{?ldconfig} %{?ldconfig}
%endif
%if %{MING} %if %{MING}
# run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config* # run "dot -c" to generate plugin config in %%{_libdir}/graphviz/config*
@ -660,11 +635,9 @@ php --no-php-ini \
%files gd %files gd
%{_libdir}/graphviz/libgvplugin_gd.so.* %{_libdir}/graphviz/libgvplugin_gd.so.*
%if %{with gtk2}
%files gtk2 %files gtk2
%{_libdir}/graphviz/libgvplugin_gtk.so.* %{_libdir}/graphviz/libgvplugin_gtk.so.*
%{_libdir}/graphviz/libgvplugin_gdk.so.* %{_libdir}/graphviz/libgvplugin_gdk.so.*
%endif
%files graphs %files graphs
%dir %{_datadir}/graphviz %dir %{_datadir}/graphviz
@ -754,60 +727,6 @@ php --no-php-ini \
%endif %endif
%changelog %changelog
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-2
- Release bump to handle gs update
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-1
- New version
Resolves: rhbz#2162906
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 7.0.6-4
- Rebuild OCaml packages for F38
* Mon Jan 23 2023 Zdenek Dohnal <zdohnal@redhat.com> - 7.0.6-3
- add %%bcond_with bootstrap to break circular dependency with doxygen if needed
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 7.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Thu Jan 12 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.6-1
- New version
Resovles: rhbz#2158703
* Fri Jan 06 2023 Tomas Popela <tpopela@redhat.com> - 7.0.5-3
- Don't build GTK 2 bits on ELN/RHEL 10 as GTK 2 won't be available there
* Wed Jan 04 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 7.0.5-2
- Rebuild for https://fedoraproject.org/wiki/Changes/Ruby_3.2
* Thu Dec 29 2022 Tom Callaway <spot@fedoraproject.org> - 7.0.5-1
- update to 7.0.5
- patch out distutils usage to build with Python 3.12
* Thu Dec 15 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.4-1
- New version
Resolves: rhbz#2150535
* Thu Dec 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.3-1
- New version
Resolves: rhbz#2148597
* Mon Nov 21 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.2-1
- New version
Resolves: rhbz#2144128
* Mon Nov 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.1-1
- New version
Resolves: rhbz#2141409
* Tue Nov 1 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-2
- Temporally drop PHP support due to graphviz issue #2277
Resolves: rhbz#2137832
* Mon Oct 24 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 7.0.0-1
- New version
Resolves: rhbz#2137071
* Fri Oct 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.0.2-3 * Fri Oct 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.0.2-3
- More fixes for conditional build of smyrna - More fixes for conditional build of smyrna

View File

@ -1 +1 @@
SHA512 (graphviz-7.1.0.tar.bz2) = 28b3217153cbe96270b25862aa030269128653b011cf9eb6607fe9d061aa9db85f9b2454d9fde70be5af4f98474f8cac61040584ce164723df6ceb372cfb29ad SHA512 (graphviz-6.0.2.tar.bz2) = bdf4ab637276947851f2b0dbc6f613dfa6983ba39e2f4d18ae48372e67c8c6bddd080bb06177399447d367e5126768082397c9aeb195bf3295c21ea8e031d33a