commit 9fa80de7d6a9e744ec35012f880e5756a466099e
Author: Jakub Bogusz <[email protected]>
Date:   Mon Nov 16 21:33:47 2020 +0100

    - updated noarch rule to cover rpm 4.1x
    - rel 2 (netcdf 4.7.4)

 exodusii.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/exodusii.spec b/exodusii.spec
index 9bfdf89..f9d663f 100644
--- a/exodusii.spec
+++ b/exodusii.spec
@@ -4,7 +4,8 @@ Name:           exodusii
 Version:       6.09.0
 %define        gitref  f7b697abda26c05a5177c9ecf75c782f0b0f31e6
 %define        snap    20150604
-Release:       0.%{snap}.1
+%define        rel     2
+Release:       0.%{snap}.%{rel}
 License:       BSD
 Group:         Libraries
 Source0:       
https://github.com/certik/exodus/archive/%{gitref}/%{name}-%{snap}.tar.gz
@@ -17,6 +18,7 @@ BuildRequires:        curl-devel
 BuildRequires: hdf5-devel
 BuildRequires: netcdf-devel >= 4.2.1.1
 BuildRequires: python >= 1:2.5
+BuildRequires: rpmbuild(macros) >= 1.752
 BuildRequires: zlib-devel
 Requires:      netcdf >= 4.2.1.1
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -58,9 +60,7 @@ Pythonowy interfejs do części biblioteki Exodus II.
 Summary:       Documentation for Exodus II libraries
 Summary(pl.UTF-8):     Dokumentacja do bibliotek Exodus II
 Group:         Documentation
-%if "%{_rpmversion}" >= "4.6"
-BuildArch:     noarch
-%endif
+%{?noarchpackage}
 
 %description doc
 Documentation for Exodus II libraries.
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/exodusii.git/commitdiff/9fa80de7d6a9e744ec35012f880e5756a466099e

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

Reply via email to