Update the 1.4.5 SRPM to force the use of MD5 checksums, which v1.4
authorjsquyres
Mon Jun 04 16:10:47 2012 +0000 (11 months ago)
branchv1.4
changeset 1998477ec777f4c95
parent 19414 280f4f7a26f2
Update the 1.4.5 SRPM to force the use of MD5 checksums, which
increase the SRPM compatibility to older versions of RPM (e.g.,
including the RPM in RHEL 5.x).
contrib/dist/linux/buildrpm.sh
contrib/dist/linux/openmpi.spec
     1.1 --- a/contrib/dist/linux/buildrpm.sh	Tue Feb 14 18:44:34 2012 +0000
     1.2 +++ b/contrib/dist/linux/buildrpm.sh	Mon Jun 04 16:10:47 2012 +0000
     1.3 @@ -3,7 +3,7 @@
     1.4  # Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
     1.5  #                         University Research and Technology
     1.6  #                         Corporation.  All rights reserved.
     1.7 -# Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
     1.8 +# Copyright (c) 2006-2012 Cisco Systems, Inc.  All rights reserved.
     1.9  # 
    1.10  
    1.11  #
    1.12 @@ -15,7 +15,7 @@
    1.13  
    1.14  specfile="openmpi.spec"
    1.15  prefix=${prefix:-"/opt/openmpi"}
    1.16 -rpmbuild_options=${rpmbuild_options:-"--define 'mflags -j4'"}
    1.17 +rpmbuild_options=${rpmbuild_options:-"--define 'mflags -j4' --define '_source_filedigest_algorithm md5'  --define '_binary_filedigest_algorithm md5'"}
    1.18  configure_options=${configure_options:-""}
    1.19  
    1.20  # Helpful when debugging
     2.1 --- a/contrib/dist/linux/openmpi.spec	Tue Feb 14 18:44:34 2012 +0000
     2.2 +++ b/contrib/dist/linux/openmpi.spec	Mon Jun 04 16:10:47 2012 +0000
     2.3 @@ -242,7 +242,7 @@
     2.4  Summary: A powerful implementaion of MPI
     2.5  Name: %{?_name:%{_name}}%{!?_name:openmpi}
     2.6  Version: $VERSION
     2.7 -Release: 1
     2.8 +Release: 2
     2.9  License: BSD
    2.10  Group: Development/Libraries
    2.11  Source: openmpi-%{version}.tar.$EXTENSION
    2.12 @@ -733,6 +733,12 @@
    2.13  #
    2.14  #############################################################################
    2.15  %changelog
    2.16 +* Mon Jun 04 2012 Jeff Squyres <jsquyres@cisco.com>
    2.17 +- Didn't change the specfile, but changed the script that generates
    2.18 +  the SRPM to force the use of MD5 checksums (vs. SHA1 checksums) so
    2.19 +  that the SRPM is friendly to older versions of RPM, such as that on
    2.20 +  RHEL 5.x.
    2.21 +
    2.22  * Mon Dec 14 2009 Jeff Squyres <jsquyres@cisco.com>
    2.23  - Add missing executables to specfile (ompi-server, etc.)
    2.24  - Fix: pull in VT files when building multiple RPMs (reported by Jim