[apiextractor] Remove Sphinx refcounting extension

Jaroslav Reznik jreznik at fedoraproject.org
Tue Jun 10 10:45:12 UTC 2014


commit c877a91b7d9bf5801a7ab18b0816c8a2ce6bebad
Author: Jaroslav Reznik <jreznik at redhat.com>
Date:   Tue Jun 10 12:45:01 2014 +0200

    Remove Sphinx refcounting extension

 ...tractor-0.10.10-remove-sphinx-refcounting.patch |   12 ++++++++++++
 apiextractor.spec                                  |   11 ++++++++++-
 2 files changed, 22 insertions(+), 1 deletions(-)
---
diff --git a/apiextractor-0.10.10-remove-sphinx-refcounting.patch b/apiextractor-0.10.10-remove-sphinx-refcounting.patch
new file mode 100644
index 0000000..a5bc572
--- /dev/null
+++ b/apiextractor-0.10.10-remove-sphinx-refcounting.patch
@@ -0,0 +1,12 @@
+diff -up apiextractor-0.10.10/doc/conf.py.in.remove-sphinx-refcounting apiextractor-0.10.10/doc/conf.py.in
+--- apiextractor-0.10.10/doc/conf.py.in.remove-sphinx-refcounting	2011-12-30 15:41:39.000000000 +0100
++++ apiextractor-0.10.10/doc/conf.py.in	2014-06-10 12:35:01.995964104 +0200
+@@ -22,7 +22,7 @@ import sys, os
+ 
+ # Add any Sphinx extension module names here, as strings. They can be extensions
+ # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
+-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.refcounting', 'sphinx.ext.coverage']
++extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig', 'sphinx.ext.coverage']
+ 
+ rst_epilog = """
+ .. |project| replace:: API Extractor
diff --git a/apiextractor.spec b/apiextractor.spec
index 2e79ff3..be37c2d 100644
--- a/apiextractor.spec
+++ b/apiextractor.spec
@@ -1,6 +1,6 @@
 Name:           apiextractor
 Version:        0.10.10
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Library headers parser to extract API information
 
 Group:          System Environment/Libraries
@@ -8,6 +8,10 @@ License:        GPLv2
 URL:            http://www.pyside.org
 Source0:        http://www.pyside.org/files/apiextractor-%{version}.tar.bz2
 
+# docs fails to build with Sphinx 1.2
+# https://bugreports.qt-project.org/browse/PYSIDE-221
+Patch0:         apiextractor-0.10.10-remove-sphinx-refcounting.patch
+
 BuildRequires:  cmake
 BuildRequires:  libxml2-devel
 BuildRequires:  libxslt-devel
@@ -36,6 +40,8 @@ developing applications that use %{name}.
 %prep
 %setup -q
 
+%patch0 -p1 -b .remove-sphinx-refcounting
+
 
 %build
 mkdir -p %{_target_platform}
@@ -79,6 +85,9 @@ make test -C %{_target_platform}
 
 
 %changelog
+* Tue Jun 10 2014 Jaroslav Reznik <jreznik at redhat.com> - 0.10.10-7
+- Remove Sphinx refcounting extension
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.10.10-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list