[packages/vtk] - noarch subpackages only when building with rpm5

glen glen at pld-linux.org
Thu Nov 15 23:30:22 CET 2012


commit f421933bb0b0e1fe510e680366742a612e4ea0d6
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Nov 16 00:29:44 2012 +0200

    - noarch subpackages only when building with rpm5

 vtk.spec | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/vtk.spec b/vtk.spec
index 90dedac..d30e887 100644
--- a/vtk.spec
+++ b/vtk.spec
@@ -186,7 +186,9 @@ Ten pakiet zawiera wszystkie programy testowe ze źródeł VTK. Kod
 Summary:	Data files for VTK
 Summary(pl.UTF-8):	Pliki danych dla VTK
 Group:		Development/Libraries
+%if "%{_rpmversion}" >= "5"
 BuildArch:	noarch
+%endif
 
 %description data
 This package contains all the data from the VTKData repository. These
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/vtk.git/commitdiff/f421933bb0b0e1fe510e680366742a612e4ea0d6



More information about the pld-cvs-commit mailing list