[OpenAFS] rhel3 openafs 1.4.5 spec patch
Darren Patterson
dys@mac.com
Fri, 16 Nov 2007 17:03:41 -0800
It seems that the libafsauthent and libafsrpc libraries aren't being
removed correctly when rebuilding openafs 1.4.5 from SRPM. This throws
an error before the RPMs are generated. Below is a patch for the spec file.
-darren
--- openafs.spec.orig 2007-11-16 16:36:01.000000000 -0800
+++ openafs.spec 2007-11-16 16:36:28.000000000 -0800
@@ -1163,8 +1163,8 @@
done
%if !%{build_authlibs}
-rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so
-rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so
+rm -f $RPM_BUILD_ROOT%{_libdir}/libafsauthent.so*
+rm -f $RPM_BUILD_ROOT%{_libdir}/libafsrpc.so*
%endif
%endif