rpms/sparsehash/devel sparsehash.spec,1.1,1.2 import.log,1.1,NONE

Kalev Lember kalev at fedoraproject.org
Sat Jul 3 10:13:10 UTC 2010


Author: kalev

Update of /cvs/pkgs/rpms/sparsehash/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv6254

Modified Files:
	sparsehash.spec 
Removed Files:
	import.log 
Log Message:
Marked -devel as noarch, thanks to Chen Lei (#609728)



Index: sparsehash.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sparsehash/devel/sparsehash.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sparsehash.spec	3 Jul 2010 08:40:55 -0000	1.1
+++ sparsehash.spec	3 Jul 2010 10:13:10 -0000	1.2
@@ -1,11 +1,9 @@
 # disable -debuginfo subpackage
-# This could be a noarch package instead, but since the package can run tests
-# at build time, I'd prefer that the tests were run at each architecture.
 %global debug_package %{nil}
 
 Name:           sparsehash
 Version:        1.7
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Extremely memory-efficient C++ hash_map implementation
 
 Group:          Development/Libraries
@@ -24,6 +22,10 @@ speed.
 %package        devel
 Summary:        Extremely memory-efficient C++ hash_map implementation
 Group:          Development/Libraries
+# The _sub_package is marked noarch but (empty) main package is archful.
+# Such setup makes it possible to run self tests at package build time
+# on every separate architecture but have the final RPM noarch.
+BuildArch:      noarch
 
 %description    devel
 The Google SparseHash project contains several C++ template hash-map
@@ -60,6 +62,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/google/
 
 %changelog
+* Sat Jul 03 2010 Kalev Lember <kalev at smartlink.ee> - 1.7-3
+- Marked -devel as noarch, thanks to Chen Lei (#609728)
+
 * Sat Jul 03 2010 Kalev Lember <kalev at smartlink.ee> - 1.7-2
 - Move all files to -devel (#609728)
 


--- import.log DELETED ---



More information about the scm-commits mailing list