public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/openlibm] epel10: New upstream release 0.5.0
@ 2026-11-05 10:23 Milan Bouchet-Valat
  0 siblings, 0 replies; only message in thread
From: Milan Bouchet-Valat @ 2026-11-05 10:23 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/openlibm
Branch : epel10
Commit : e0d2457c18136a3fb810c535076e459689c5b0e2
Author : Milan Bouchet-Valat <nalimilan@club.fr>
Date   : 2016-03-08T14:54:53+01:00
Stats  : +18/-36 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/openlibm/c/e0d2457c18136a3fb810c535076e459689c5b0e2?branch=epel10

Log:
New upstream release 0.5.0

---
diff --git a/.gitignore b/.gitignore
index b9dbdfc..01df149 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /openlibm-0.3.tar.gz
 /openlibm-0.4.tar.gz
 /openlibm-0.4.1.tar.gz
+/openlibm-0.5.0.tar.gz

diff --git a/openlibm.spec b/openlibm.spec
index d949926..b45bd50 100644
--- a/openlibm.spec
+++ b/openlibm.spec
@@ -2,15 +2,12 @@
 
 Summary:        High quality system independent, open source libm
 Name:           openlibm
-Version:        0.4.1
-Release:        3%{?dist}
+Version:        0.5.0
+Release:        1%{?dist}
 License:        BSD and MIT and ISC and Public Domain
 Group:          System Environment/Libraries
 Source0:        https://github.com/JuliaLang/openlibm/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 URL:            https://github.com/JuliaLang/openlibm/
-# openlibm does not currently build properly on non-x86 architectures
-# https://github.com/JuliaLang/openlibm/issues/18
-ExclusiveArch:  %{ix86} x86_64 %{arm}
 
 %description
 OpenLIBM is an effort to have a high quality standalone LIBM library.
@@ -38,7 +35,7 @@ Requires:   %{name}-devel%{?_isa} = %{version}-%{release}
 Static %{name} library.
 
 %prep
-%setup -q %{name}-%{version}
+%setup -q
 
 # File under the Apple Public Source License Version 1.1
 rm -f test/ieeetestnew.c
@@ -46,43 +43,22 @@ rm -f test/ieeetestnew.c
 rm -f i387/osx_asm.h
 
 %build
-# openlibm uses the arch name to choose which directory to build
-# and the name is "arm"
-%ifarch arm7hl
-%global arch arm
-%else
-%global arch %{_arch}
-%endif
-
 make %{?_smp_mflags} \
       FFLAGS="%{optflags}" \
-      CFLAGS="%{optflags}" \
-      ARCH=%{arch}
+      CFLAGS="%{optflags}"
 
 %check
-cd test/
-
-%ifarch x86_64
-./test-float
-./test-double
+# Tests still fail on ARM because of floating-point exceptions
+# which are not set correctly (but other tests are fine)
+%ifnarch %{arm}
+make test
 %endif
 
-%ifarch %{ix86}
-./test-float
-# This test fails on i686:
-# https://github.com/JuliaLang/openlibm/issues/55
-#./test-double
-%endif
-
-# Tests fail on ARM:
-# https://github.com/JuliaLang/openlibm/issues/83
-
 %install
 make install prefix=%{_prefix} \
              libdir=%{_libdir} \
              includedir=%{_includedir} \
-             DESTDIR=%{buildroot} \
-             ARCH=%{arch}
+             DESTDIR=%{buildroot}
 
 %if ! %{with static_libs}
 rm %{buildroot}/%{_libdir}/libopenlibm.a
@@ -93,12 +69,11 @@ rm %{buildroot}/%{_libdir}/libopenlibm.a
 
 %files
 %doc LICENSE.md README.md
-%{_libdir}/libopenlibm.so.1*
+%{_libdir}/libopenlibm.so.2*
 
 %files devel
 %{_libdir}/libopenlibm.so
 %{_libdir}/pkgconfig/openlibm.pc
-%{_includedir}/openlibm.h
 %{_includedir}/openlibm/
 
 %if %{with static_libs}
@@ -107,6 +82,12 @@ rm %{buildroot}/%{_libdir}/libopenlibm.a
 %endif
 
 %changelog
+* Tue Mar 8 2016 Milan Bouchet-Valat <nalimilan@club.fr> - 0.5.0-1
+- New upstream release (bumping SONAME).
+- Remove ExclusiveArch since PPC is now supported (and passes the tests).
+- Enable tests on i686.
+- Remove custom code for computing ARCH, which is now correctly detected.
+
 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
 

diff --git a/sources b/sources
index 80ca208..18c0271 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-8130ed3d752e6c9adca3c73df4d9a09a  openlibm-0.4.1.tar.gz
+cf9e523638fda90a04c786265616fde3  openlibm-0.5.0.tar.gz

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

only message in thread, other threads:[~2026-11-05 10:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05 10:23 [rpms/openlibm] epel10: New upstream release 0.5.0 Milan Bouchet-Valat

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