Add ExclusiveArch: %{java_arches} noarch

See: https://fedoraproject.org/wiki/Changes/Drop_i686_JDKs
This commit is contained in:
Mikolaj Izdebski 2022-05-12 22:33:24 +02:00
parent 2f2f59eb46
commit cdc95a6fb4

View File

@ -9,6 +9,7 @@ Summary: Library of matchers for building test expressions
License: BSD License: BSD
URL: https://github.com/hamcrest/JavaHamcrest URL: https://github.com/hamcrest/JavaHamcrest
BuildArch: noarch BuildArch: noarch
ExclusiveArch: %{java_arches} noarch
Source0: https://github.com/hamcrest/JavaHamcrest/archive/v%{upstream_version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/hamcrest/JavaHamcrest/archive/v%{upstream_version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/%{upstream_version}/hamcrest-%{upstream_version}.pom Source1: https://repo1.maven.org/maven2/org/hamcrest/hamcrest/%{upstream_version}/hamcrest-%{upstream_version}.pom