public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ode] epel10: Update to 0.13.2 (rhbz#1291676)
@ 2026-11-30 16:33 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-11-30 16:33 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ode
Branch : epel10
Commit : 75dfeca59c4effb30fa5db4685e73b6757dc441f
Author : Hans de Goede <hdegoede@redhat.com>
Date   : 2015-12-16T20:09:06+01:00
Stats  : +22/-37 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/ode/c/75dfeca59c4effb30fa5db4685e73b6757dc441f?branch=epel10

Log:
Update to 0.13.2 (rhbz#1291676)

---
diff --git a/.gitignore b/.gitignore
index 2a7f634..0dbf4b1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 ode-0.11.1.tar.bz2
 /ode-0.12.tar.bz2
 /ode-0.13.1.tar.gz
+/ode-0.13.2.tar.gz

diff --git a/ode-0.10.0-no-pentium-on-i386.patch b/ode-0.10.0-no-pentium-on-i386.patch
deleted file mode 100644
index 23952e5..0000000
--- a/ode-0.10.0-no-pentium-on-i386.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up ode-0.10.0/configure~ ode-0.10.0/configure
---- ode-0.10.0/configure~	2008-07-02 11:41:48.000000000 +0200
-+++ ode-0.10.0/configure	2008-07-02 11:41:48.000000000 +0200
-@@ -20857,7 +20857,7 @@ echo "${ECHO_T}$enable_demos" >&6; }
- 
- pentium=no
- cpu64=no
--case "$host_cpu" in
-+case "$target_cpu" in
-   i586 | i686 | i786 )
-         pentium=yes
- 

diff --git a/ode-0.13.1-double-config.patch b/ode-0.13.1-double-config.patch
index 45ab67d..7a4669d 100644
--- a/ode-0.13.1-double-config.patch
+++ b/ode-0.13.1-double-config.patch
@@ -1,8 +1,8 @@
-diff -up ode-0.13.1/ode-double-config~ ode-0.13.1/ode-double-config
---- ode-0.13.1/ode-double-config~	2014-10-29 13:22:58.000000000 +0100
-+++ ode-0.13.1/ode-double-config	2014-10-29 13:24:17.436154237 +0100
+diff -up ode-0.13.2/ode-double-config.orig ode-0.13.2/ode-double-config
+--- ode-0.13.2/ode-double-config.orig	2015-12-16 19:46:37.505460309 +0100
++++ ode-0.13.2/ode-double-config	2015-12-16 19:46:58.285886948 +0100
 @@ -39,10 +39,10 @@ while test $# -gt 0; do
-       echo 0.13.1
+       echo 0.13.2
        ;;
      --cflags)
 -      echo
@@ -14,13 +14,13 @@ diff -up ode-0.13.1/ode-double-config~ ode-0.13.1/ode-double-config
        ;;
      *)
        echo "${usage}" 1>&2
-diff -up ode-0.13.1/ode-double.pc~ ode-0.13.1/ode-double.pc
---- ode-0.13.1/ode-double.pc~	2014-10-29 13:22:58.000000000 +0100
-+++ ode-0.13.1/ode-double.pc	2014-10-29 13:24:19.693095427 +0100
+diff -up ode-0.13.2/ode-double.pc.orig ode-0.13.2/ode-double.pc
+--- ode-0.13.2/ode-double.pc.orig	2015-12-16 19:46:58.285886948 +0100
++++ ode-0.13.2/ode-double.pc	2015-12-16 19:50:17.435392140 +0100
 @@ -7,6 +7,6 @@ precision=dDOUBLE
  Name: ode
  Description: Open Dynamics Engine
- Version: 0.13.1
+ Version: 0.13.2
 -Libs: -L${libdir} -lode
 +Libs: -L${libdir} -lode-double
  Libs.private: -lstdc++ -lm

diff --git a/ode.spec b/ode.spec
index a65f52e..e027952 100644
--- a/ode.spec
+++ b/ode.spec
@@ -1,21 +1,17 @@
 %global somajor 4
 
 Name:           ode
-Version:        0.13.1
-Release:        4%{?dist}
+Version:        0.13.2
+Release:        1%{?dist}
 Summary:        High performance library for simulating rigid body dynamics
 Group:          System Environment/Libraries
 License:        BSD or LGPLv2+
 URL:            https://bitbucket.org/odedevs/ode
 Source0:        https://bitbucket.org/odedevs/ode/downloads/ode-%{version}.tar.gz
-# This works around a bug in rpmbuild, where with localbuilds it will pass
-# the machine being build on as host param to configure instead of the machine
-# on which the code will run
-Patch0:         ode-0.10.0-no-pentium-on-i386.patch
 Patch1:         ode-0.11.1-multilib.patch
 # Modify ode-double.pc and ode-double.config to set dDOUBLE, link right lib
 Patch2:         ode-0.13.1-double-config.patch
-BuildRequires:  libGL-devel libGLU-devel
+BuildRequires:  libGL-devel libGLU-devel libtool
 
 %description
 ODE is an open source, high performance library for simulating rigid body
@@ -48,10 +44,8 @@ developing applications that use %{name} or %{name}-double.
 
 %prep
 %setup -q
-%patch0 -p1
+./bootstrap
 %patch1 -p1
-# to stop autoxxx from getting regenerated because of our configure patch
-touch -r CHANGELOG.txt configure.in
 # allow overriding EXTRA_LIBTOOL_LDFLAGS from the make cmdline
 sed -i 's/libode_la_LDFLAGS = @EXTRA_LIBTOOL_LDFLAGS@/libode_la_LDFLAGS = $(EXTRA_LIBTOOL_LDFLAGS)/' \
   ode/src/Makefile.in
@@ -66,10 +60,12 @@ mv libccd/BSD-LICENSE LIBCCD-LICENSE.TXT
 
 
 %build
-%configure --enable-shared --disable-static --enable-double-precision \
+# Use internal libccd as system libccd is not build with double support
+ODE_CONFIGURE_FLAGS="--enable-shared --disable-static --with-libccd=internal \
   --with-cylinder-cylinder=libccd --with-capsule-cylinder=libcdd \
   --with-convex-box=libccd --with-convex-capsule=libccd \
-  --with-convex-cylinder=libccd
+  --with-convex-cylinder=libccd"
+%configure $ODE_CONFIGURE_FLAGS --enable-double-precision
 make %{?_smp_mflags} X_LIBS=-lX11 EXTRA_LIBTOOL_LDFLAGS="-release double"
 mv ode-config ode-double-config
 mv ode.pc ode-double.pc
@@ -80,10 +76,7 @@ make distclean
 
 CFLAGS="%{optflags} -ffast-math"
 CXXFLAGS="%{optflags} -ffast-math"
-%configure --enable-shared --disable-static \
-  --with-cylinder-cylinder=libccd --with-capsule-cylinder=libcdd \
-  --with-convex-box=libccd --with-convex-capsule=libccd \
-  --with-convex-cylinder=libccd
+%configure $ODE_CONFIGURE_FLAGS
 make %{?_smp_mflags} X_LIBS=-lX11
 
 
@@ -126,6 +119,9 @@ install -m 644 ode-double.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig
 
 
 %changelog
+* Wed Dec 16 2015 Hans de Goede <hdegoede@redhat.com> - 0.13.2-1
+- Update to 0.13.2 (rhbz#1291676)
+
 * Wed Sep  9 2015 Hans de Goede <hdegoede@redhat.com> - 0.13.1-4
 - Enable libccd colliders for collision types for which ode has no builtin
   colission detection (rhbz#1260964)

diff --git a/sources b/sources
index bfeafd3..6113b85 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-00f6613b3d8e5249be60e3a513d6aebd  ode-0.13.1.tar.gz
+7550a4a53e80e67d9b19033fbe36a739  ode-0.13.2.tar.gz

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-30 16:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-30 16:33 [rpms/ode] epel10: Update to 0.13.2 (rhbz#1291676) Hans de Goede

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox