From e806029dbce9ab377660b9e15b45d2db83df724b Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Tue, 5 Jul 2022 10:19:09 -0500 Subject: [PATCH] Only build go subpackage on %golang_arches (i.e. the architectures where golang is available). Currently, %{golang_arches} does not exclude any architecture that we currently build for, but this may change in the future. --- graphviz.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/graphviz.spec b/graphviz.spec index f53a6e4..1e2b222 100644 --- a/graphviz.spec +++ b/graphviz.spec @@ -56,7 +56,11 @@ %global GUILE 0 %endif +%ifarch %{golang_arches} %global GOLANG 1 +%else +%global GOLANG 0 +%endif # Plugins version %global pluginsver 6 @@ -77,7 +81,7 @@ Name: graphviz Summary: Graph Visualization Tools Version: 5.0.0 -Release: 2%{?dist} +Release: 3%{?dist} License: EPL-1.0 URL: http://www.graphviz.org/ Source0: https://gitlab.com/%{name}/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 @@ -712,6 +716,10 @@ php --no-php-ini \ %endif %changelog +* Tue Jul 19 2022 Maxwell G - 5.0.0-3 +- Only build go subpackage on %%golang_arches (i.e. the architectures where + golang is available). + * Fri Jul 15 2022 Jiri Vanek - 5.0.0-2 - adapted to removal of java on i686 - finsihing merged https://src.fedoraproject.org/rpms/graphviz/pull-request/9#request_diff