[ofa-general] [PATCH 2/4] [RFC] Take empty ChangeLog out of RPM packages

Roland Dreier rolandd at cisco.com
Fri Feb 15 12:57:59 PST 2008


rpmlint says:

    E: zero-length /usr/share/doc/librdmacm-1.0.6/ChangeLog

and there's really no point in shipping an empty file, so just don't
package it.

Signed-off-by: Roland Dreier <rolandd at cisco.com>
---
 librdmacm.spec.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/librdmacm.spec.in b/librdmacm.spec.in
index c09d6a4..693f311 100644
--- a/librdmacm.spec.in
+++ b/librdmacm.spec.in
@@ -52,7 +52,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %{_libdir}/librdmacm*.so.*
-%doc AUTHORS COPYING ChangeLog README
+%doc AUTHORS COPYING README
 
 %files devel
 %defattr(-,root,root)
-- 
1.5.4.1





More information about the general mailing list