[ofa-general] [PATCH] uDAPL rpm specfile cleanup

Arlin Davis arlin.r.davis at intel.com
Tue Apr 3 16:13:43 PDT 2007


Cleanup RPM build for the DAPL package, move to 1.2-1 release. 
(remove duplicate dat.conf in devel, remove *.so from devel, add libdat.so to base, update release) 

Changes applied to master and ofed_1_2 branches.

Signed-off by: Arlin Davis ardavis at ichips.intel.com

diff --git a/libdat.spec.in b/libdat.spec.in
index bcd78ad..b490c39 100644
--- a/libdat.spec.in
+++ b/libdat.spec.in
@@ -31,8 +31,8 @@
 #
 # $Id: $
 
-%define ver 1.2.1
-%define RELEASE pre 
+%define ver 1.2
+%define RELEASE 1 
 %define rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
 
 Summary: Userspace DAT and DAPL API.
@@ -86,14 +86,13 @@ rm -rf $RPM_BUILD_ROOT
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root)
-%{_libdir}/libda*.so.*
+%defattr(-,root,root,-)
+%{_libdir}/libda*.so*
 %{_sysconfdir}/dat.conf
 %doc AUTHORS README
 
 %files devel
 %defattr(-,root,root,-)
-%{_libdir}/libda*.so
 %{_libdir}/*.a
 %{_includedir}/dat/dat.h
 %{_includedir}/dat/dat_error.h
@@ -105,7 +104,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/dat/udat.h
 %{_includedir}/dat/udat_redirection.h
 %{_includedir}/dat/udat_vendor_specific.h
-%{_sysconfdir}/dat.conf
 
 %files utils
 %defattr(-,root,root,-)




More information about the general mailing list