From 2e40c5d9799ada65c420c39886287f9855e2100a Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Tue, 21 Jul 2020 18:16:30 +0800 Subject: [PATCH] make doc subpackages noarch for subpackaging --- ghc-rpm-macros.spec | 1 + macros.ghc-extra | 1 + 2 files changed, 2 insertions(+) diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index 61f3c89..a98170e 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -215,6 +215,7 @@ EOF %changelog * Tue Jul 21 2020 Jens Petersen - 2.0.12-1 +- make doc packages noarch for subpackaging - obsoletes for ghc-gtksourceview2 * Wed Jun 24 2020 Jens Petersen - 2.0.11-1 diff --git a/macros.ghc-extra b/macros.ghc-extra index 54e9c75..345f93c 100644 --- a/macros.ghc-extra +++ b/macros.ghc-extra @@ -50,6 +50,7 @@ This package provides the Haskell %{pkgname} library development files.\ Summary: Haskell %{pkgname} library documentation\ %{?1:Version: %{pkgver}}\ %{-l:License: %{-l*}}\ +BuildArch: noarch\ Supplements: (%{basepkg}-devel and ghc-doc)\ \ %description -n %{basepkg}-doc\