Make mingw subpackages noarch

This commit is contained in:
Sandro Mani 2022-02-24 20:07:36 +01:00
parent 67748c83bc
commit e9cbb5c065

View File

@ -1,6 +1,6 @@
Name: libgeotiff
Version: 1.7.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: GeoTIFF format library
License: MIT
@ -53,6 +53,7 @@ The GeoTIFF library provides support for development of geotiff image format.
%package -n mingw32-%{name}
Summary: MinGW Windows %{name} library
Obsoletes: mingw32-%{name}-static
BuildArch: noarch
%description -n mingw32-%{name}
%{summary}.
@ -61,6 +62,7 @@ Obsoletes: mingw32-%{name}-static
%package -n mingw32-%{name}-tools
Summary: Tools for the MinGW Windows %{name} library
Requires: mingw32-%{name} = %{version}-%{release}
BuildArch: noarch
%description -n mingw32-%{name}-tools
%{summary}.
@ -69,6 +71,8 @@ Requires: mingw32-%{name} = %{version}-%{release}
%package -n mingw64-%{name}
Summary: MinGW Windows %{name} library
Obsoletes: mingw64-%{name}-static
BuildArch: noarch
%description -n mingw64-%{name}
%{summary}.
@ -76,6 +80,7 @@ Obsoletes: mingw64-%{name}-static
%package -n mingw64-%{name}-tools
Summary: Tools for the MinGW Windows %{name} library
Requires: mingw64-%{name} = %{version}-%{release}
BuildArch: noarch
%description -n mingw64-%{name}-tools
%{summary}.
@ -198,6 +203,9 @@ EOF
%changelog
* Thu Feb 24 2022 Sandro Mani <manisandro@gmail.com> - 1.7.0-6
- Make mingw subpackages noarch
* Thu Feb 24 2022 Sandro Mani <manisandro@gmail.com> - 1.7.0-5
- Add mingw subpackage