commit 6be766ed6b7175ef26d7fc5c538e8511ad5fb7d7
Author: Jakub Bogusz <[email protected]>
Date:   Mon Nov 16 21:55:17 2020 +0100

    - updated noarch rule to cover rpm 4.6+
    - release 24 (netcdf 4.7.4)

 dx.spec | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)
---
diff --git a/dx.spec b/dx.spec
index 2b40a2e..b7e4ccc 100644
--- a/dx.spec
+++ b/dx.spec
@@ -2,7 +2,7 @@ Summary:        Excellent tool for making visualization of data
 Summary(pl.UTF-8):     Doskonałe narzędzie do wizualizacji danych
 Name:          dx
 Version:       4.4.4
-Release:       23
+Release:       24
 License:       IPL
 Group:         Applications/Science
 Source0:       http://opendx.npaci.edu/source/%{name}-%{version}.tar.gz
@@ -38,6 +38,7 @@ BuildRequires:        libstdc++-devel
 BuildRequires: libtool
 BuildRequires: motif-devel
 BuildRequires: netcdf-devel
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libSM-devel
 BuildRequires: xorg-lib-libX11-devel
@@ -107,9 +108,7 @@ Biblioteki statyczne OpenDX.
 Summary:       OpenDX documentation
 Summary(pl.UTF-8):     Dokumentacja OpenDX
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description doc
 Online help and html documentation for OpenDX.
@@ -121,9 +120,7 @@ Podręczna pomoc oraz dokumentacja html dla OpenDX.
 Summary:       OpenDX Examples
 Summary(pl.UTF-8):     Przykłady dla OpenDX
 Group:         Documentation
-%if "%{_rpmversion}" >= "5"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description examples
 Examples for OpenDX.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dx.git/commitdiff/6be766ed6b7175ef26d7fc5c538e8511ad5fb7d7

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

Reply via email to