[slv2] Workaround the doxygen bug by removing the spurious manpage file

Orcan Ogetbil oget at fedoraproject.org
Thu Jul 26 00:48:54 UTC 2012


commit 88fe22b10997a56005af3d66a2580820946148d6
Author: Orcan Ogetbil <oget.fedora at gmail.com>
Date:   Wed Jul 25 20:48:46 2012 -0400

    Workaround the doxygen bug by removing the spurious manpage file

 slv2.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/slv2.spec b/slv2.spec
index f8c5e3e..af8da82 100644
--- a/slv2.spec
+++ b/slv2.spec
@@ -1,14 +1,13 @@
 Name:			slv2
 Summary:		LV2 host library
 Version:		0.6.6
-Release:		10%{?dist}
+Release:		11%{?dist}
 License:		GPLv2+
 Group:			System Environment/Libraries
 Source0:		http://download.drobilla.net/%{name}-%{version}.tar.bz2
 # Remove dates from html doc files RHBZ#566345
 Patch0:			%{name}-no-date-on-docs.patch
 URL:			http://drobilla.net/software/slv2/
-BuildRoot:		%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:		doxygen
 BuildRequires:		lv2-devel
@@ -33,7 +32,7 @@ Group:		Development/Libraries
 Requires:	lv2-devel 
 Requires:	redland-devel
 Requires:	pkgconfig
-Requires:	%{name} = %{version}-%{release}
+Requires:	%{name}%{?_isa} = %{version}-%{release}
 
 %description devel
 SLV2 is a library to make the use of LV2 plugins as simple as possible for
@@ -67,27 +66,24 @@ export CXXFLAGS="%{optflags}"
 	--build-docs
 ./waf build -v %{?_smp_mflags}
 
+# Workaround the doxygen bug
+rm -f build/default/doc/man/man3/_*
+
 %install
-rm -rf %{buildroot}
 DESTDIR=%{buildroot} ./waf install
 chmod +x %{buildroot}%{_libdir}/lib%{name}.so*
 
-%clean
-rm -rf %{buildroot}
-
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING README
 %{_bindir}/lv2*
 %{_libdir}/lib%{name}.so.*
 %{_mandir}/man1/*
 
 %files devel
-%defattr(-,root,root,-)
 %{_docdir}/%{name}-devel-%{version}
 %{_includedir}/%{name}/
 %{_libdir}/pkgconfig/%{name}.pc
@@ -95,6 +91,9 @@ rm -rf %{buildroot}
 %{_mandir}/man3/%{name}*
 
 %changelog
+* Wed Jul 25 2012 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.6.6-11
+- Workaround the doxygen bug by removing the spurious manpage file
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.6.6-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list