1
1

BUILD RPM: revert dist token in Release tag, reset dist to nil when building src.rpm

This commit was SVN r32224.
Этот коммит содержится в:
Mike Dubman 2014-07-12 12:29:30 +00:00
родитель d55f16db50
Коммит 8c265fab15
2 изменённых файлов: 2 добавлений и 1 удалений

1
contrib/dist/linux/buildrpm.sh поставляемый
Просмотреть файл

@ -212,6 +212,7 @@ fi
if test "$build_srpm" = "yes"; then
echo "--> Building the Open MPI SRPM"
rpmbuild_options="$rpmbuild_options --define 'dist %{nil}'"
cmd="$rpm_cmd $rpmbuild_options -bs $specdest"
echo "--> $cmd"
eval $cmd

2
contrib/dist/linux/openmpi.spec поставляемый
Просмотреть файл

@ -203,7 +203,7 @@
Summary: A powerful implementation of MPI/SHMEM
Name: %{?_name:%{_name}}%{!?_name:openmpi}
Version: $VERSION
Release: 1
Release: 1%{?dist}
License: BSD
Group: Development/Libraries
Source: openmpi-%{version}.tar.$EXTENSION