[libsigc++20] fix documentation location RHBZ #678981
Haïkel Guémar
hguemar at fedoraproject.org
Mon Feb 21 16:26:26 UTC 2011
commit eab775f500fc7edfe6d8e098ef598e51a447ce34
Author: Haikel Guemar <hguemar at fedoraproject.org>
Date: Mon Feb 21 09:00:57 2011 +0100
fix documentation location RHBZ #678981
libsigc++20.spec | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/libsigc++20.spec b/libsigc++20.spec
index 1683627..3c18fd3 100644
--- a/libsigc++20.spec
+++ b/libsigc++20.spec
@@ -1,6 +1,6 @@
Name: libsigc++20
Version: 2.2.8
-Release: 2%{?dist}
+Release: 3%{?dist}.1
Summary: Typesafe signal framework for C++
@@ -60,12 +60,6 @@ make %{?_smp_mflags}
rm -rf $RPM_BUILD_ROOT
make DESTDIR=${RPM_BUILD_ROOT} install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
-mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
-mv ${RPM_BUILD_ROOT}%{_datadir}/doc/libsigc++-2.0 ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html
-mv ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/libsigc++-2.0/* ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/
-# Fix documentation link in devhelp file, since we moved the docs to
-# the gtk-doc directory.
-sed -i 's:/usr/share/doc:/usr/share/gtk-doc/html:' ${RPM_BUILD_ROOT}%{_datadir}/gtk-doc/html/libsigc++-2.0/*.devhelp2
%clean
@@ -95,10 +89,15 @@ rm -rf $RPM_BUILD_ROOT
%files doc
%defattr(-, root, root, -)
-%doc %{_datadir}/gtk-doc/html/libsigc++-2.0
-
+%doc %{_datadir}/doc/%{name}
+# according guidelines, we can co-own this, since devhelp is not required # for accessing documentation
+%{_datadir}/devhelp/
%changelog
+* Mon Feb 21 2011 Haïkel Guémar <hguemar at fedoraproject.org> - 2.2.8-3
+- fix documentation location (RHBZ #678981)
+- co-own /usr/share/devhelp
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
More information about the scm-commits
mailing list