[packages/highlight] updated noarch rule
atler
atler at pld-linux.org
Sat Jan 16 16:01:29 CET 2021
commit 2c97026b48d212dc7ac334b892fd43b0b5db965e
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Jan 16 15:51:57 2021 +0100
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,
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/highlight.git/commitdiff/2c97026b48d212dc7ac334b892fd43b0b5db965e
More information about the pld-cvs-commit
mailing list