From 2c97026b48d212dc7ac334b892fd43b0b5db965e Mon Sep 17 00:00:00 2001 From: Jan Palus Date: Sat, 16 Jan 2021 15:51:57 +0100 Subject: [PATCH] updated noarch rule --- highlight.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/highlight.spec b/highlight.spec index 53e90e8..fb9dbc6 100644 --- a/highlight.spec +++ b/highlight.spec @@ -22,6 +22,7 @@ BuildRequires: libstdc++-devel BuildRequires: lua53-devel BuildRequires: qt5-build BuildRequires: qt5-qmake +BuildRequires: rpmbuild(macros) >= 1.752 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sysconfdir /etc/highlight @@ -47,9 +48,7 @@ wejściowego. Summary: API documentation for highlight - a source code converter to HTML, XHTML, RTF, TeX, LaTeX, XSL-FO, and XML Summary(pl.UTF-8): Dokumentacja API highlight - konwertera kodu źródłowego do HTML, XHTML, RTF, TeX, LaTeX, XSL-FO oraz XML Group: Documentation -%if "%{_rpmversion}" >= "5" -BuildArch: noarch -%endif +%{?noarchpackage} %description apidocs API documentation for highlight - a source code converter to HTML, -- 2.44.0