From 49f88659069799c3b810a956496896d290982630 Mon Sep 17 00:00:00 2001 From: Chris Kelley Date: Wed, 7 Jun 2023 20:00:21 +0100 Subject: [PATCH] Upstream some spec file changes from Fedora to minimise diff --- ldapjdk.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/ldapjdk.spec b/ldapjdk.spec index 7651c06..f27d6ab 100644 --- a/ldapjdk.spec +++ b/ldapjdk.spec @@ -25,8 +25,7 @@ Name: ldapjdk Summary: LDAP SDK URL: https://github.com/dogtagpki/ldap-sdk -License: MPLv1.1 or GPLv2+ or LGPLv2+ -BuildArch: noarch +License: MPL-1.1 or GPL-2.0-or-later or LGPL-2.1-or-later Version: %{major_version}.%{minor_version}.%{update_version} Release: %{release_number}%{?phase:.}%{?phase}%{?timestamp:.}%{?timestamp}%{?commit_id:.}%{?commit_id}%{?dist} @@ -45,6 +44,11 @@ Source: https://github.com/dogtagpki/ldap-sdk/archive/v%{version}%{?phase:-}%{?p # > ldap-sdk-VERSION-RELEASE.patch # Patch: ldap-sdk-VERSION-RELEASE.patch +BuildArch: noarch +%if 0%{?fedora} +ExclusiveArch: %{java_arches} noarch +%endif + ################################################################################ # Java ################################################################################