[pcl/el6] Fix BR for EL 6 (python-sphinx10)

Tim Niemueller timn at fedoraproject.org
Tue Sep 23 15:37:14 UTC 2014


commit b1c315c475574bb02b47057ad05999d956573500
Author: Tim Niemueller <niemueller at kbsg.rwth-aachen.de>
Date:   Tue Sep 23 17:37:06 2014 +0200

    Fix BR for EL 6 (python-sphinx10)

 pcl.spec |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/pcl.spec b/pcl.spec
index ac11d4c..2a07182 100644
--- a/pcl.spec
+++ b/pcl.spec
@@ -2,7 +2,7 @@
 
 Name:           pcl
 Version:        1.7.1
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        Library for point cloud processing
 
 Group:          System Environment/Libraries
@@ -27,7 +27,12 @@ BuildRequires:  cmake28, uuid-devel
 %endif
 BuildRequires:gcc-c++, boost-devel
 # Documentation
-BuildRequires:  doxygen, graphviz, python-sphinx
+BuildRequires:  doxygen, graphviz
+%if ! 0%{?rhel} || 0%{?rhel} > 6
+BuildRequires: python-sphinx
+%else
+BuildRequires: python-sphinx10
+%endif
 %if ! 0%{?rhel} || 0%{?rhel} >= 6
 BuildRequires:  texlive-latex
 %else
@@ -221,6 +226,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Tue Sep 23 2014 Tim Niemueller <tim at niemueller.de> - 1.7.1-7
+- Fix BR for EL 6 (python-sphinx10)
+
 * Tue Sep 23 2014 Tim Niemueller <tim at niemueller.de> - 1.7.1-6
 - Upgrade and patch for EL 6
 


More information about the scm-commits mailing list