public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Hans de Goede <jwrdegoede@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/ode] epel10.3: - New upstream release 0.10.1 (bz 460033)
Date: Mon, 30 Nov 2026 16:34:05 GMT	[thread overview]
Message-ID: <179605644510.1.18058782083657220264.rpms-ode-9391d8bb1b67@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-11-30 16:34 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179605644510.1.18058782083657220264.rpms-ode-9391d8bb1b67@fedoraproject.org \
    --to=jwrdegoede@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox