[ofa-general] Re: [PATCH 1/2] management/*.spec.in: Change source

Doug Ledford dledford at redhat.com
Thu May 31 08:47:11 PDT 2007


On Thu, 2007-05-31 at 11:39 -0400, Hal Rosenstock wrote:
> management/*.spec.in: Change source
>
> Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Nak.  If you check this in, then the automatic version update of the
file for the different RPMs won't work.  You need to leave the @TARBALL@
sed substitution in place in the spec.in file, and keep the sed
substition in the make.dist script, otherwise your release tarballs will
be named eg. opensm-3.3.0.tgz and in the spec file it will say
opensm-git.tgz

> diff --git a/infiniband-diags/infiniband-diags.spec.in b/infiniband-diags/infiniband-diags.spec.in
> index cc9de3b..0a9c7bc 100644
> --- a/infiniband-diags/infiniband-diags.spec.in
> +++ b/infiniband-diags/infiniband-diags.spec.in
> @@ -9,7 +9,7 @@ Release: %rel%{?dist}
>  License: GPL/BSD
>  Group: System Environment/Libraries
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> -Source: git://git.openfabrics.org/~halr/management/@TARBALL@
> +Source: git://git.openfabrics.org/~halr/management/infiniband-diags-git.tgz
>  Url: http://openfabrics.org/
>  BuildRequires: libibmad-devel, opensm-devel, autoconf, automake
>  Provides: perl(IBswcountlimits)
> diff --git a/libibcommon/libibcommon.spec.in b/libibcommon/libibcommon.spec.in
> index 73542fa..6ab806f 100644
> --- a/libibcommon/libibcommon.spec.in
> +++ b/libibcommon/libibcommon.spec.in
> @@ -9,7 +9,7 @@ Release: %rel%{?dist}
>  License: GPL/BSD
>  Group: System Environment/Libraries
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> -Source: git://git.openfabrics.org/~halr/management/@TARBALL@
> +Source: git://git.openfabrics.org/~halr/management/libibcommon-git.tgz
>  Url: http://openfabrics.org/
>  Requires(post): /sbin/ldconfig
>  Requires(postun): /sbin/ldconfig
> diff --git a/libibmad/libibmad.spec.in b/libibmad/libibmad.spec.in
> index 0ca9ac3..8d2b10a 100644
> --- a/libibmad/libibmad.spec.in
> +++ b/libibmad/libibmad.spec.in
> @@ -9,7 +9,7 @@ Release: %rel%{?dist}
>  License: GPL/BSD
>  Group: System Environment/Libraries
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> -Source: git://git.openfabrics.org/~halr/management/@TARBALL@
> +Source: git://git.openfabrics.org/~halr/management/libibmad-git.tgz
>  Url: http://openfabrics.org/
>  BuildRequires: libibumad-devel, autoconf, libtool, automake
>  Requires(post): /sbin/ldconfig
> diff --git a/libibumad/libibumad.spec.in b/libibumad/libibumad.spec.in
> index f2641e2..e5890d7 100644
> --- a/libibumad/libibumad.spec.in
> +++ b/libibumad/libibumad.spec.in
> @@ -9,7 +9,7 @@ Release: %rel%{?dist}
>  License: GPL/BSD
>  Group: System Environment/Libraries
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
> -Source: git://git.openfabrics.org/~halr/management/@TARBALL@
> +Source: git://git.openfabrics.org/~halr/management/libibumad-git.tgz
>  Url: http://openfabrics.org
>  Requires(post): /sbin/ldconfig
>  Requires(postun): /sbin/ldconfig
> diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
> index ea86756..f72c5b9 100644
> --- a/opensm/opensm.spec.in
> +++ b/opensm/opensm.spec.in
> @@ -21,7 +21,7 @@ Release: %rel%{?dist}
>  License: GPL/BSD
>  Group: System Environment/Daemons
>  URL: http://openfabrics.org/
> -Source: git://git.openfabrics.org/~halr/management/@TARBALL@
> +Source: git://git.openfabrics.org/~halr/management/opensm-git.tgz
>  BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
>  BuildRequires: libibumad-devel, autoconf, libtool, automake
>  Requires: %{name}-libs = %{version}-%{release}, logrotate
> 
> 
-- 
Doug Ledford <dledford at redhat.com>
              GPG KeyID: CFBFF194
              http://people.redhat.com/dledford

Infiniband specific RPMs available at
              http://people.redhat.com/dledford/Infiniband
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070531/7c650102/attachment.sig>


More information about the general mailing list