From 7eb402863a962c782014b40921b6bc9a28169885 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 12 May 2022 22:33:23 +0200 Subject: [PATCH] Add ExclusiveArch: %{java_arches} noarch See: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs --- ant.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ant.spec b/ant.spec index 23ca322..b5c8393 100644 --- a/ant.spec +++ b/ant.spec @@ -40,6 +40,9 @@ Summary(it): Tool per la compilazione di programmi java Summary(fr): Outil de compilation pour java License: ASL 2.0 URL: https://ant.apache.org/ +BuildArch: noarch +ExclusiveArch: %{java_arches} noarch + Source0: https://www.apache.org/dist/ant/source/apache-ant-%{version}-src.tar.bz2 Source2: apache-ant-1.8.ant.conf # manpage @@ -91,8 +94,6 @@ Requires: javapackages-tools # requires the exact old ant version. Obsoletes: ant-apache-log4j < 1.10.9-5 -BuildArch: noarch - %description Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension