]> git.pld-linux.org Git - packages/openjdk11.git/commitdiff
updated noarch rules auto/th/openjdk11-11.0.10-1
authorJan Palus <atler@pld-linux.org>
Tue, 26 Jan 2021 22:36:32 +0000 (23:36 +0100)
committerJan Palus <atler@pld-linux.org>
Tue, 26 Jan 2021 22:36:32 +0000 (23:36 +0100)
openjdk11.spec

index 1de3d4b12f731c2dee1a16d703404c9d8b85cf3c..4b8a020bbcfe389a5d3e118e9c8296b246c99eeb 100644 (file)
@@ -51,7 +51,7 @@ BuildRequires:        libpng-devel >= 2:1.6.37
 BuildRequires: lsb-release
 BuildRequires: pcsc-lite-devel
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.557
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: unzip
 BuildRequires: util-linux
 BuildRequires: xorg-lib-libX11-devel
@@ -298,9 +298,7 @@ archiwów.
 Summary:       OpenJDK - sources
 Summary(pl.UTF-8):     OpenJDK - kod źródłowy
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description jdk-sources
 Source code for the OpenJDK development kit and Java standard library.
@@ -313,9 +311,7 @@ biblioteki Javy.
 Summary:       OpenJDK - examples
 Summary(pl.UTF-8):     OpenJDK - przykłady
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description examples
 Code examples for OpenJDK.
This page took 0.504285 seconds and 4 git commands to generate.