commit 3907e8328d54f85273f99ee381e0c8313453d0ed
Author: Jan Palus <[email protected]>
Date:   Fri Feb 5 22:59:51 2021 +0100

    updated noarch rules

 icedtea8.spec | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
---
diff --git a/icedtea8.spec b/icedtea8.spec
index b2593d0..4c3790a 100644
--- a/icedtea8.spec
+++ b/icedtea8.spec
@@ -101,7 +101,7 @@ BuildRequires:      lsb-release
 %{?with_nss:BuildRequires:     nss-devel >= 1:3.17.2-5}
 BuildRequires: pcsc-lite-devel
 BuildRequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.557
+BuildRequires: rpmbuild(macros) >= 1.752
 %{?with_systemtap:BuildRequires:       systemtap-sdt-devel >= 3.2}
 BuildRequires: tar >= 1:1.22
 BuildRequires: unzip
@@ -440,9 +440,7 @@ i został zbudowany wyłącznie przy użyciu wolnego 
oprogramowania.
 Summary:       OpenJDK and GNU Classpath code - sources
 Summary(pl.UTF-8):     Kod OpenJDK i GNU Classpath - 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.
@@ -455,9 +453,7 @@ biblioteki Javy.
 Summary:       OpenJDK and GNU Classpath code - examples
 Summary(pl.UTF-8):     Kod OpenJDK i GNU Classpath - przykłady
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description examples
 Code examples for OpenJDK.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/icedtea8.git/commitdiff/3907e8328d54f85273f99ee381e0c8313453d0ed

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to