rpms/scalapack/devel scalapack.spec,1.28,1.29

Tom Callaway spot at fedoraproject.org
Wed Jul 7 18:52:51 UTC 2010


Author: spot

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

Modified Files:
	scalapack.spec 
Log Message:
spec cleanup, -static packages require matching -devel packages


Index: scalapack.spec
===================================================================
RCS file: /cvs/pkgs/rpms/scalapack/devel/scalapack.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -p -r1.28 -r1.29
--- scalapack.spec	16 Dec 2009 04:41:55 -0000	1.28
+++ scalapack.spec	7 Jul 2010 18:52:51 -0000	1.29
@@ -18,7 +18,7 @@
 Summary: A subset of LAPACK routines redesigned for heterogenous computing
 Name: scalapack
 Version: 1.7.5
-Release: 9%{?dist}
+Release: 10%{?dist}
 # This is freely distributable without any restrictions.
 License: Public Domain
 Group: Development/Libraries
@@ -26,6 +26,8 @@ URL: http://www.netlib.org/lapack-dev/
 Source0: http://www.netlib.org/scalapack/scalapack-%{version}.tgz
 BuildRequires: lapack-devel, blas-devel
 BuildRequires: gcc-gfortran, glibc-devel
+BuildRequires: blacs-mpich2-devel, mpich2-devel-static
+BuildRequires: blacs-openmpi-devel, openmpi-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Patch0: scalapack-1.7-fedora.patch
 
@@ -90,7 +92,6 @@ This package contains common files which
 %package mpich2
 Summary: ScaLAPACK libraries compiled against mpich2
 Group: Development/Libraries
-BuildRequires: blacs-mpich2-devel, mpich2-devel-static
 Requires: %{name}-common = %{version}-%{release}
 Requires: environment-modules
 # This is a lie, but something needs to obsolete it.
@@ -140,6 +141,7 @@ Summary: Static libraries for ScaLAPACK 
 Group: Development/Libraries
 Provides: %{name}-lam-static = %{version}-%{release}
 Obsoletes: %{name}-lam-static <= 1.7.5-7
+Requires: %{name}-mpich2-devel = %{version}-%{release}
 
 %description mpich2-static
 This package contains static libraries for ScaLAPACK, compiled against mpich2.
@@ -147,7 +149,6 @@ This package contains static libraries f
 %package openmpi
 Summary: ScaLAPACK libraries compiled against openmpi
 Group: Development/Libraries
-BuildRequires: blacs-openmpi-devel, openmpi-devel
 Requires: %{name}-common = %{version}-%{release}
 Requires: environment-modules
 
@@ -190,6 +191,7 @@ This package contains development librar
 %package openmpi-static
 Summary: Static libraries for ScaLAPACK (openmpi)
 Group: Development/Libraries
+Requires: %{name}-openmpi-devel = %{version}-%{release}
 
 %description openmpi-static
 This package contains static libraries for ScaLAPACK, compiled against openmpi.
@@ -301,6 +303,10 @@ rm -fr ${RPM_BUILD_ROOT}
 %{_libdir}/scalapack-openmpi/libscalapack.a
 
 %changelog
+* Wed Jul  7 2010 Tom "spot" Callaway <tcallawa at redhat.com> - 1.7.5-10
+- Move all BuildRequires to the top of the spec file
+- -static packages now Require matching -devel package, they're not very useful otherwise
+
 * Wed Dec 15 2009 Deji Akingunola <dakingun at gmail.com> - 1.7.5-9
 - Buildrequire mpich2-devel-static
 



More information about the scm-commits mailing list