* debian/rules: Do not specify python include dirs in the call to CMAKE,
    it causes a FTBFS because CMAKE can't find the correct includes. Since
    CMAKE 2.8.11-1, CMAKE knows how to find multi-arched python by itself.

If you are going to be relying on functionlity introduced in a particular
version of a package you should really build-depend on it.
Added a version to the build-dependency, tweaked the changelog and uploaded.

New debdiff attatched.


diff -Nru syfi-1.0.0.dfsg/debian/changelog syfi-1.0.0.dfsg/debian/changelog
--- syfi-1.0.0.dfsg/debian/changelog    2013-05-16 15:08:28.000000000 +0100
+++ syfi-1.0.0.dfsg/debian/changelog    2013-12-01 23:16:47.000000000 +0000
@@ -1,3 +1,16 @@
+syfi (1.0.0.dfsg-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  [Andreas Moog]
+  * debian/rules: Do not specify python include dirs in the call to CMAKE,
+    it causes a FTBFS because CMAKE can't find the correct includes. Since
+    CMAKE 2.8.11-1, CMAKE knows how to find multi-arched python by itself.
+    (Closes: #713520) (LP: #1250177)
+  [Peter Michael Green]
+  * debian/control: Version build-depends on cmake as >= 2.8.11-1 per above.
+  
+ -- Peter Michael Green <plugw...@debian.org>  Sun, 01 Dec 2013 23:14:41 +0000
+
 syfi (1.0.0.dfsg-1.1) unstable; urgency=low
 
   * Non maintainer upload.
diff -Nru syfi-1.0.0.dfsg/debian/control syfi-1.0.0.dfsg/debian/control
--- syfi-1.0.0.dfsg/debian/control      2011-12-21 09:07:55.000000000 +0000
+++ syfi-1.0.0.dfsg/debian/control      2013-12-01 23:16:14.000000000 +0000
@@ -6,7 +6,7 @@
 Build-Depends: cdbs (>= 0.4.90~),
  debhelper (>= 7),
  python-all-dev (>= 2.6.6-3~),
- cmake,
+ cmake (>= 2.8.11-1),
  swig2.0,
  libginac-dev,
  pkg-config,
diff -Nru syfi-1.0.0.dfsg/debian/rules syfi-1.0.0.dfsg/debian/rules
--- syfi-1.0.0.dfsg/debian/rules        2013-05-16 15:07:20.000000000 +0100
+++ syfi-1.0.0.dfsg/debian/rules        2013-12-01 23:14:11.000000000 +0000
@@ -28,10 +28,7 @@
 
 install-stamp-%:
        cd $(DEB_BUILDDIR) && rm CMakeCache.txt && \
-         cmake -D PYTHON_EXECUTABLE:FILEPATH=/usr/bin/$* \
-           -D PYTHON_LIBRARY:FILEPATH=/usr/lib/$(DEB_HOST_MULTIARCH)/lib$*.so \
-           -D PYTHON_INCLUDE_DIR:PATH=/usr/include/$* \
-           $(DEB_CMAKE_NORMAL_ARGS) $(DEB_CMAKE_EXTRA_FLAGS)
+         cmake $(DEB_CMAKE_NORMAL_ARGS) $(DEB_CMAKE_EXTRA_FLAGS)
        make -C $(DEB_BUILDDIR) install DESTDIR=$(CURDIR)/debian/tmp
        touch $@
 

Reply via email to