New version

Resolves: rhbz#2182174
This commit is contained in:
Jaroslav Škarvada 2023-03-29 00:04:25 +02:00
parent bfa630d837
commit 52e8314f9d
4 changed files with 10 additions and 20 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/graphviz-*.tar.bz2
/graphviz-*.tar.xz

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

@ -99,11 +99,12 @@
Name: graphviz
Summary: Graph Visualization Tools
Version: 7.1.0
Release: 2%{?dist}
Version: 8.0.1
Release: 1%{?dist}
License: EPL-1.0
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
Source0: https://gitlab.com/api/v4/projects/%{name}%2F%{name}/packages/generic/%{name}-releases/%{version}/%{name}-%{version}.tar.xz
BuildRequires: gcc-g++
BuildRequires: zlib-devel
BuildRequires: libpng-devel
@ -204,8 +205,6 @@ Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
# rhbz#1838679
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}
Obsoletes: graphviz-java < %{version}-%{release}
@ -773,6 +772,10 @@ php --no-php-ini \
%endif
%changelog
* Tue Mar 28 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 8.0.1-1
- New version
Resolves: rhbz#2182174
* Tue Jan 24 2023 Jaroslav Škarvada <jskarvad@redhat.com> - 7.1.0-2
- Release bump to handle gs update

View File

@ -1 +1 @@
SHA512 (graphviz-7.1.0.tar.bz2) = 28b3217153cbe96270b25862aa030269128653b011cf9eb6607fe9d061aa9db85f9b2454d9fde70be5af4f98474f8cac61040584ce164723df6ceb372cfb29ad
SHA512 (graphviz-8.0.1.tar.xz) = e8859710b026ae799d1fc73709faf97623cfcd2285bf0ca3563d0c138657f338ffe91585f750a0c081b806b5efd1247760d2b590e21bfb32e78d6436efd86ee7