[ofa-general] [PATCH] management/*/*.spec.in: don't run autogen.sh
Sasha Khapyorsky
sashak at voltaire.com
Tue Sep 18 17:25:52 PDT 2007
Don't run autogen.sh script for rpm generation - valid tarballs should
have already generated ./configure.
Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
infiniband-diags/infiniband-diags.spec.in | 3 +--
libibcommon/libibcommon.spec.in | 3 +--
libibmad/libibmad.spec.in | 3 +--
libibumad/libibumad.spec.in | 3 +--
opensm/opensm.spec.in | 3 +--
5 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/infiniband-diags/infiniband-diags.spec.in b/infiniband-diags/infiniband-diags.spec.in
index c43eb58..4abf761 100644
--- a/infiniband-diags/infiniband-diags.spec.in
+++ b/infiniband-diags/infiniband-diags.spec.in
@@ -11,7 +11,7 @@ Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: git://git.openfabrics.org/~sashak/management/@TARBALL@
Url: http://openfabrics.org/
-BuildRequires: libibmad-devel, opensm-devel, autoconf, automake
+BuildRequires: libibmad-devel, opensm-devel
Provides: perl(IBswcountlimits)
%description
@@ -26,7 +26,6 @@ diagnose an IB subnet.
%endif
%build
-./autogen.sh
%configure %{?_enable_switch_map}
make
diff --git a/libibcommon/libibcommon.spec.in b/libibcommon/libibcommon.spec.in
index e7c5d76..bc7995f 100644
--- a/libibcommon/libibcommon.spec.in
+++ b/libibcommon/libibcommon.spec.in
@@ -13,7 +13,7 @@ Source: git://git.openfabrics.org/~sashak/management/@TARBALL@
Url: http://openfabrics.org/
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
-BuildRequires: autoconf, libtool, automake
+BuildRequires: libtool
%description
libibcommon provides common utility functions for the OFA diagnostic and
@@ -41,7 +41,6 @@ Static library files for the libibcommon library.
%setup -q
%build
-./autogen.sh
%configure
make %{?_smp_mflags}
diff --git a/libibmad/libibmad.spec.in b/libibmad/libibmad.spec.in
index 4263eac..93f8b20 100644
--- a/libibmad/libibmad.spec.in
+++ b/libibmad/libibmad.spec.in
@@ -11,7 +11,7 @@ Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source: git://git.openfabrics.org/~sashak/management/@TARBALL@
Url: http://openfabrics.org/
-BuildRequires: libibumad-devel, autoconf, libtool, automake
+BuildRequires: libibumad-devel, libtool
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
@@ -42,7 +42,6 @@ Static version of the libibmad library
%setup -q
%build
-./autogen.sh
%configure
make %{?_smp_mflags}
diff --git a/libibumad/libibumad.spec.in b/libibumad/libibumad.spec.in
index 87bd071..64a7293 100644
--- a/libibumad/libibumad.spec.in
+++ b/libibumad/libibumad.spec.in
@@ -13,7 +13,7 @@ Source: git://git.openfabrics.org/~sashak/management/@TARBALL@
Url: http://openfabrics.org
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
-BuildRequires: libibcommon-devel, autoconf, libtool, automake
+BuildRequires: libibcommon-devel, libtool
%description
libibumad provides the user MAD library functions which sit on top of
@@ -42,7 +42,6 @@ Static version of the libibumad library.
%setup -q
%build
-./autogen.sh
%configure
make %{?_smp_mflags}
diff --git a/opensm/opensm.spec.in b/opensm/opensm.spec.in
index 4179b27..9b9409d 100644
--- a/opensm/opensm.spec.in
+++ b/opensm/opensm.spec.in
@@ -30,7 +30,7 @@ Group: System Environment/Daemons
URL: http://openfabrics.org/
Source: git://git.openfabrics.org/~sashak/management/@TARBALL@
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libibumad-devel, autoconf, libtool, automake
+BuildRequires: libibumad-devel, libtool
Requires: %{name}-libs = %{version}-%{release}, logrotate
Requires(post): /sbin/service, /sbin/chkconfig
Requires(preun): /sbin/chkconfig, /sbin/service
@@ -72,7 +72,6 @@ Static version of the opensm libraries
%setup -q
%build
-./autogen.sh
%configure \
%{?_enable_console_socket} \
%{?_disable_console_socket} \
--
1.5.3.1.91.gd3392
More information about the general
mailing list