From 080d88bc9bdf05a13bb4102b6c88a8ef369d12ee Mon Sep 17 00:00:00 2001 From: Mike Dubman Date: Thu, 10 Jul 2014 19:35:15 +0000 Subject: [PATCH] build: remove distro id from src.rpm filename, select md5 packing algorithm for consistency across different distros: src.rpm create on one distro can be unpacked on another when same packing algorithm used on both. reviewed by Jeff cmr=v1.8.2:reviewer=ompi-rm1.8 This commit was SVN r32205. --- contrib/dist/linux/openmpi.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/dist/linux/openmpi.spec b/contrib/dist/linux/openmpi.spec index 3588816efe..4d043bd1bd 100644 --- a/contrib/dist/linux/openmpi.spec +++ b/contrib/dist/linux/openmpi.spec @@ -134,6 +134,10 @@ # type: bool (0/1) %{!?allow_fortify_source: %define allow_fortify_source 1} +# Select md5 packing algorithm, that src.rpm created on one distro can be read on another. +%global _binary_filedigest_algorithm 1 +%global _source_filedigest_algorithm 1 + ############################################################################# # # Configuration Logic @@ -199,7 +203,7 @@ Summary: A powerful implementation of MPI/SHMEM Name: %{?_name:%{_name}}%{!?_name:openmpi} Version: $VERSION -Release: 1%{?dist} +Release: 1 License: BSD Group: Development/Libraries Source: openmpi-%{version}.tar.$EXTENSION