[polymake] Rebuild for libnormaliz 2.11.2 and eigen3 3.2.2.

Jerry James jjames at fedoraproject.org
Fri Aug 8 15:42:51 UTC 2014


commit 9ffc59eaa61560c6b51c18086f1d063b10585300
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Fri Aug 8 09:42:43 2014 -0600

    Rebuild for libnormaliz 2.11.2 and eigen3 3.2.2.

 polymake-libnormaliz.patch |   11 +++++++++++
 polymake.spec              |   10 ++++++++--
 2 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/polymake-libnormaliz.patch b/polymake-libnormaliz.patch
new file mode 100644
index 0000000..677d581
--- /dev/null
+++ b/polymake-libnormaliz.patch
@@ -0,0 +1,11 @@
+--- ./bundled/libnormaliz/apps/polytope/src/normaliz.cc.orig	2014-04-04 12:57:29.000000000 -0600
++++ ./bundled/libnormaliz/apps/polytope/src/normaliz.cc	2014-08-06 20:00:00.000000000 -0600
+@@ -72,7 +72,7 @@ namespace polymake { namespace polytope
+          std::transform(rows(pmdata).begin(),rows(pmdata).end(),
+                std::back_inserter(data),&pmVector_to_stdvector<Scalar>);
+          return libnormaliz::Cone<Scalar>( data, 
+-               from_ineq ? libnormaliz::Type::hyperplanes
++               from_ineq ? libnormaliz::Type::inequalities
+                : libnormaliz::Type::integral_closure );
+       }
+ 
diff --git a/polymake.spec b/polymake.spec
index f59dd0d..4ebb580 100644
--- a/polymake.spec
+++ b/polymake.spec
@@ -8,14 +8,14 @@
 # rebuilt, because each BRs the other and both are linked against the old
 # version of the library.  Use this to rebuild polymake without Singular
 # support, rebuild Singular, then build polymake again with Singular support.
-%bcond_without singular
+%bcond_with singular
 
 # Date of the "perpetual beta" subversion snapshot
 #%%global svndate 20140326
 
 Name:           polymake
 Version:        2.13
-Release:        4%{?svndate:.svn%{svndate}}%{?dist}
+Release:        5%{?svndate:.svn%{svndate}}%{?dist}
 Summary:        Algorithms on convex polytopes and polyhedra
 
 License:        GPLv2+
@@ -38,6 +38,8 @@ Patch2:         %{name}-format.patch
 # Fedora-specific patch.  Upstream code is written for Singular-3-1-6 + git,
 # but we have vanilla Singular-3-1-6.  This patch adapts to the older Singular.
 Patch3:         %{name}-singular.patch
+# Adapt to libnormaliz 2.11
+Patch4:         %{name}-libnormaliz.patch
 
 BuildRequires:  bliss-devel
 BuildRequires:  boost-devel
@@ -124,6 +126,7 @@ This package contains documentation for %{name}.
 %patch1
 %patch2
 %patch3
+%patch4
 
 # Make sure we don't build against the bundled libraries.
 rm -fr external/{cdd,lrs}
@@ -229,6 +232,9 @@ sed -i 's,%{buildroot},,' %{buildroot}%{polydir}/bundled/singular/conf.make
 %doc doc/*
 
 %changelog
+* Tue Aug  5 2014 Jerry James <loganjerry at gmail.com> - 2.13-5
+- Rebuild for libnormaliz 2.11.2 and eigen3 3.2.2
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.13-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 


More information about the scm-commits mailing list