Make mingw subpackages noarch

This commit is contained in:
Sandro Mani 2022-02-24 20:14:02 +01:00
parent ffbe06730f
commit 3a7f8ef8ad

View File

@ -6,7 +6,7 @@
Name: leptonica Name: leptonica
Version: 1.82.0 Version: 1.82.0
Release: 3%{?dist} Release: 4%{?dist}
Summary: C library for efficient image processing and image analysis operations Summary: C library for efficient image processing and image analysis operations
License: Leptonica License: Leptonica
@ -90,6 +90,7 @@ The %{name}-tools package contains leptonica utility tools.
%package -n mingw32-%{name} %package -n mingw32-%{name}
Summary: MinGW Windows Leptonica library Summary: MinGW Windows Leptonica library
Obsoletes: mingw32-%{name}-static Obsoletes: mingw32-%{name}-static
BuildArch: noarch
%description -n mingw32-%{name} %description -n mingw32-%{name}
MinGW Windows Leptonica library. MinGW Windows Leptonica library.
@ -98,6 +99,7 @@ MinGW Windows Leptonica library.
%package -n mingw64-%{name} %package -n mingw64-%{name}
Summary: MinGW Windows Leptonica library Summary: MinGW Windows Leptonica library
Obsoletes: mingw64-%{name}-static Obsoletes: mingw64-%{name}-static
BuildArch: noarch
%description -n mingw64-%{name} %description -n mingw64-%{name}
MinGW Windows Leptonica library. MinGW Windows Leptonica library.
@ -175,6 +177,9 @@ ln -s %{mingw64_libdir}/libleptonica.dll.a %{buildroot}%{mingw64_libdir}/liblept
%changelog %changelog
* Thu Feb 24 2022 Sandro Mani <manisandro@gmail.com> - 1.82.0-4
- Make mingw subpackages noarch
* Sat Feb 19 2022 Sandro Mani <manisandro@gmail.com> - 1.82.0-3 * Sat Feb 19 2022 Sandro Mani <manisandro@gmail.com> - 1.82.0-3
- Add mingw subpackage - Add mingw subpackage
- Port to cmake - Port to cmake