[ofa-general] [PATCH] uDAPL (dat2.0 branch) - fixup distribution and specfile

Arlin Davis arlin.r.davis at intel.com
Thu Oct 25 16:46:27 PDT 2007


Doug, 

Please take a look at the patch to cleanup the DAPL distribution tarball and spec file.

Thanks,

-arlin

-- 
Fix DAPL distribution by removing release number from tarball. 
General spec file cleanup for release 2 targeted for OFED 1.3 beta.

Signed-off by: Arlin Davis <ardavis at ichips.intel.com>
--
diff --git a/configure.in b/configure.in
index b08e06f..f11a7a2 100644
--- a/configure.in
+++ b/configure.in
@@ -1,11 +1,11 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT(dapl, 2.0.1-1, general at lists.openfabrics.org)
+AC_INIT(dapl, 2.0.1, general at lists.openfabrics.org)
 AC_CONFIG_SRCDIR([dat/udat/udat.c])
 AC_CONFIG_AUX_DIR(config)
 AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(dapl, 2.0.1-1)
+AM_INIT_AUTOMAKE(dapl, 2.0.1)
 
 AM_PROG_LIBTOOL
 
diff --git a/dapl.spec.in b/dapl.spec.in
index 232f0df..f49b95d 100644
--- a/dapl.spec.in
+++ b/dapl.spec.in
@@ -33,13 +33,13 @@
 # $Id: $
 Name: dapl
 Version: 2.0.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 Summary: A Library for userspace access to RDMA devices using OS Agnostic DAT APIs.
 
 Group: System Environment/Libraries
 License: Dual GPL/BSD/CPL
 Url: http://openfabrics.org/
-Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}-%{release}.tar.gz
+Source: http://www.openfabrics.org/downloads/%{name}/%{name}-%{version}.tar.gz
 BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
@@ -72,7 +72,7 @@ Requires: %{name} = %{version}-%{release}
 Useful test suites to validate uDAPL library API's.
 
 %prep
-%setup -q -n %{name}- at VERSION@
+%setup %{name}-%{version}
 
 %build
 %configure --enable-ext-type=ib 
@@ -99,6 +99,7 @@ rm -rf %{buildroot}
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/*.so
+%dir %{_includedir}/dat2
 %{_includedir}/dat2/*
 
 %files devel-static
@@ -111,6 +112,9 @@ rm -rf %{buildroot}
 %{_mandir}/man1/*
 
 %changelog
+* Thu Oct 25 2007 Arlin Davis <ardavis at ichips.intel.com> - 2.0.1-2
+- OFED 1.3-beta,   DAT/DAPL Version 2.0.1 Release 2
+
 * Tue Sep 18 2007 Arlin Davis <ardavis at ichips.intel.com> - 2.0.1-1
 - OFED 1.3-alpha, co-exist with DAT 1.2 library package.  
 




More information about the general mailing list