public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ode] epel10.3: - New upstream release 0.10.1 (bz 460033)
@ 2026-11-30 16:34 Hans de Goede
  0 siblings, 0 replies; only message in thread
From: Hans de Goede @ 2026-11-30 16:34 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ode
Branch : epel10.3
Commit : 9391d8bb1b6791881a6c459a99466a724ee9681d
Author : Hans de Goede <jwrdegoede@fedoraproject.org>
Date   : 2008-09-15T21:52:57+00:00
Stats  : +47/-22 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/ode/c/9391d8bb1b6791881a6c459a99466a724ee9681d?branch=epel10.3

Log:
- New upstream release 0.10.1 (bz 460033)

---
diff --git a/.cvsignore b/.cvsignore
index 6325a1e..e1ee0b4 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -1 +1 @@
-ode-src-0.9.zip
+ode-0.10.1.tar.bz2

diff --git a/ode-0.10.0-no-pentium-on-i386.patch b/ode-0.10.0-no-pentium-on-i386.patch
new file mode 100644
index 0000000..752d039
--- /dev/null
+++ b/ode-0.10.0-no-pentium-on-i386.patch
@@ -0,0 +1,24 @@
+diff -up ode-0.10.0/configure.in~ ode-0.10.0/configure.in
+--- ode-0.10.0/configure.in~	2008-07-02 11:41:50.000000000 +0200
++++ ode-0.10.0/configure.in	2008-07-02 11:41:50.000000000 +0200
+@@ -60,7 +60,7 @@ dnl this may NOT be the machine on which
+ dnl so allow users to compile programs for their target machine.
+ pentium=no
+ cpu64=no
+-case "$host_cpu" in
++case "$target_cpu" in
+   i586 | i686 | i786 )
+         pentium=yes
+         AC_DEFINE(PENTIUM,1,[compiling for a pentium on a gcc-based platform?])
+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.spec b/ode.spec
index 010d24c..8020dfa 100644
--- a/ode.spec
+++ b/ode.spec
@@ -1,13 +1,15 @@
 Name:           ode
-Version:        0.9
-Release:        4%{?dist}
+Version:        0.10.1
+Release:        1%{?dist}
 Summary:        High performance library for simulating rigid body dynamics
 Group:          System Environment/Libraries
 License:        BSD or LGPLv2+
 URL:            http://www.ode.org
-Source0:        http://downloads.sourceforge.net/opende/ode-src-%{version}.zip
-Patch0:         ode-0.6-configure.patch
-Patch1:         ode-0.8-install.patch
+Source0:        http://downloads.sourceforge.net/opende/ode-%{version}.tar.bz2
+# 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
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  libGL-devel libGLU-devel
 
@@ -32,29 +34,25 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
-%patch0 -p1 -z .configure
-%patch1 -p1 -z .install
-# sigh stop autoxxx from rerunning because of our patches above.
-touch aclocal.m4
-touch configure
-touch Makefile.in
-touch include/ode/config.h.in
-touch ode/src/Makefile.in
+%patch0 -p1
+# to stop autoxxx from getting regenerated because of our configure patch
+touch -r CHANGELOG.txt configure.in
 # stop rpmlint from complaining about executable files in the debug package
-chmod -x ode/src/stepfast.cpp include/ode/collision_trimesh.h
+chmod -x ode/src/stepfast.cpp include/ode/collision_trimesh.h \
+  include/ode/odeconfig.h
 
 
 %build
-%configure --enable-shared --enable-soname
-# <sigh> ./configure doesn't properly pick up our CFLAGS
-make %{?_smp_mflags} CFLAGS="%{optflags} -ffast-math" \
-  CXXFLAGS="%{optflags} -ffast-math"
+CFLAGS="%{optflags} -ffast-math"
+CXXFLAGS="%{optflags} -ffast-math"
+%configure --enable-shared --disable-static
+make %{?_smp_mflags}
 
 
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/libode.a
+rm $RPM_BUILD_ROOT%{_libdir}/libode.la
 
 
 %clean
@@ -69,7 +67,7 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(-,root,root,-)
 %doc CHANGELOG.txt LICENSE*.TXT README.txt
-%{_libdir}/libode.so.*
+%{_libdir}/libode.so.1*
 
 %files devel
 %defattr(-,root,root,-)
@@ -79,6 +77,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Mon Sep 15 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.10.1-1
+- New upstream release 0.10.1 (bz 460033)
+
 * Thu Apr  3 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.9-4
 - Force proper use of RPM_OPT_FLAGS during build
 

diff --git a/sources b/sources
index 5ad5907..dad5ea0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-4c03759b76a0649a6d5108c8e172e1e4  ode-src-0.9.zip
+91c396b915539a760617437d56eb1681  ode-0.10.1.tar.bz2

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

only message in thread, other threads:[~2026-11-30 16:34 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:34 [rpms/ode] epel10.3: - New upstream release 0.10.1 (bz 460033) 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