From 3fdb536ec3a75c829162479d2359221cd8e97bff Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 2 Aug 2012 20:15:28 +0200 Subject: [PATCH] Own the individual manual pages, not the top-level directory https://bugzilla.redhat.com/show_bug.cgi?id=845946 --- libtevent.spec | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libtevent.spec b/libtevent.spec index 78ab7d2..b5b4100 100644 --- a/libtevent.spec +++ b/libtevent.spec @@ -6,7 +6,7 @@ Name: libtevent Version: 0.9.16 -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Daemons Summary: The tevent library License: LGPLv3+ @@ -18,6 +18,8 @@ BuildRequires: libtalloc-devel >= 2.0.7 BuildRequires: python-devel BuildRequires: pytalloc-devel >= 2.0.7 BuildRequires: doxygen +BuildRequires: docbook-style-xsl +BuildRequires: libxslt Provides: bundled(libreplace) @@ -73,6 +75,11 @@ UpdateTimestamps() { --builtin-libraries=replace make %{?_smp_mflags} V=1 + +# libtevent's doxy.config is based on the example doxygen file. The +# EXCLUDE_PATTERNS example there would match paths in our build +# system and prevent man pages from being built +echo "EXCLUDE_PATTERNS = " >> doxy.config doxygen doxy.config %install @@ -103,7 +110,7 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/tevent.h %{_libdir}/libtevent.so %{_libdir}/pkgconfig/tevent.pc -%{_mandir}/man3/ +%{_mandir}/man3/tevent*.gz %files -n python-tevent %defattr(-,root,root,-) @@ -115,6 +122,9 @@ rm -rf $RPM_BUILD_ROOT %postun -p /sbin/ldconfig %changelog +* Fri Aug 03 2012 Jakub Hrozek - 0.9.16-3 +- Own the individual manual pages, not the top-level directory + * Thu Jul 19 2012 Fedora Release Engineering - 0.9.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild