From c9769947b6dca7048451230cb5f20e7f760d78ac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Sun, 18 Oct 2020 17:20:59 +0200 Subject: [PATCH] - short-circuit noarchpackage macros to 'BuildArch: noarch', condition is always true --- macros.pld | 2 -- 1 file changed, 2 deletions(-) diff --git a/macros.pld b/macros.pld index d633866..aa90853 100644 --- a/macros.pld +++ b/macros.pld @@ -680,9 +680,7 @@ Provides: %{1} = %{?epoch:%{epoch}:}%{?version:%{version}}%{?release:-%{release} # noarch subpackage helper # BuildRequires: rpmbuild(macros) >= 1.752 %noarchpackage \ -%if %{_ver_ge '%{_rpmversion}' '4.6'} \ BuildArch: noarch \ -%endif \ %{nil} %apache_modules_api %{expand:%%global apache_modules_api %(awk '/#define MODULE_MAGIC_NUMBER_MAJOR/ {print $3}' /usr/include/apache/ap_mmn.h 2>/dev/null || echo ERROR)}%apache_modules_api -- 2.44.0