From 3a7f8ef8ad7d4c93718dab3122421cfa957fe9d8 Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Thu, 24 Feb 2022 20:14:02 +0100 Subject: [PATCH] Make mingw subpackages noarch --- leptonica.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/leptonica.spec b/leptonica.spec index 3b11cdc..8ce3ca2 100644 --- a/leptonica.spec +++ b/leptonica.spec @@ -6,7 +6,7 @@ Name: leptonica Version: 1.82.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C library for efficient image processing and image analysis operations License: Leptonica @@ -90,6 +90,7 @@ The %{name}-tools package contains leptonica utility tools. %package -n mingw32-%{name} Summary: MinGW Windows Leptonica library Obsoletes: mingw32-%{name}-static +BuildArch: noarch %description -n mingw32-%{name} MinGW Windows Leptonica library. @@ -98,6 +99,7 @@ MinGW Windows Leptonica library. %package -n mingw64-%{name} Summary: MinGW Windows Leptonica library Obsoletes: mingw64-%{name}-static +BuildArch: noarch %description -n mingw64-%{name} MinGW Windows Leptonica library. @@ -175,6 +177,9 @@ ln -s %{mingw64_libdir}/libleptonica.dll.a %{buildroot}%{mingw64_libdir}/liblept %changelog +* Thu Feb 24 2022 Sandro Mani - 1.82.0-4 +- Make mingw subpackages noarch + * Sat Feb 19 2022 Sandro Mani - 1.82.0-3 - Add mingw subpackage - Port to cmake