[fribidi] Resolves: rhbz#884000 remove empty man pages

Caolán McNamara caolanm at fedoraproject.org
Wed Feb 13 13:09:24 UTC 2013


commit 9265be8d3fc4c5c079a70f4ea53ee1cfcb45ee39
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Wed Feb 13 13:09:20 2013 +0000

    Resolves: rhbz#884000 remove empty man pages

 fribidi.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/fribidi.spec b/fribidi.spec
index 842b471..fa4ef06 100644
--- a/fribidi.spec
+++ b/fribidi.spec
@@ -1,7 +1,7 @@
 Summary: Library implementing the Unicode Bidirectional Algorithm
 Name: fribidi
 Version: 0.19.4
-Release: 2%{?dist}
+Release: 3%{?dist}
 URL: http://fribidi.org
 Source: http://fribidi.org/download/%{name}-%{version}.tar.bz2
 License: LGPLv2+ and UCD
@@ -44,8 +44,9 @@ make %{?_smp_mflags}
 
 %install
 make DESTDIR=$RPM_BUILD_ROOT install INSTALL="install -p"
-
-rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+# remove empty (compressed) man pages
+find $RPM_BUILD_ROOT%{_mandir}/man3 -type f -empty -exec rm {} \;
 
 %post -p /sbin/ldconfig
 
@@ -63,6 +64,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
 %{_mandir}/man3/%{name}_*.gz
 
 %changelog
+* Wed Feb 18 2013 Caolán McNamara <caolanm at redhat.com> - 0.19.4-3
+- Resolves: rhbz#884000 remove empty man pages
+
 * Mon Dec 10 2012 Caolán McNamara <caolanm at redhat.com> - 0.19.4-2
 - Resolves: rhbz#884000 signed warning (thanks mfabian)
 


More information about the scm-commits mailing list