public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/xtl] epel10: Update to latest version.
Date: Sat, 11 Jul 2026 22:45:25 GMT [thread overview]
Message-ID: <178380992576.1.2320374239835984401.rpms-xtl-587b248fc695@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/xtl
Branch : epel10
Commit : 587b248fc695c6017f1ff26d9457c1f6ca1463d5
Author : Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date : 2018-08-08T02:48:16-04:00
Stats : +61/-11 in 5 file(s)
URL : https://src.fedoraproject.org/rpms/xtl/c/587b248fc695c6017f1ff26d9457c1f6ca1463d5?branch=epel10
Log:
Update to latest version.
---
diff --git a/.gitignore b/.gitignore
index 3fc2947..2fbc78b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/xtl-0.4.4.tar.gz
/xtl-0.4.7.tar.gz
+/xtl-0.4.13.tar.gz
diff --git a/0001-Remove-march-native-flag.patch b/0001-Remove-march-native-flag.patch
index 3177918..3c09525 100644
--- a/0001-Remove-march-native-flag.patch
+++ b/0001-Remove-march-native-flag.patch
@@ -1,7 +1,7 @@
-From bf37aab2b70905fd48ca3a11c92c8ca0e145cc74 Mon Sep 17 00:00:00 2001
+From 3fa975ff766523ccc656f8f8104994ac455c9f27 Mon Sep 17 00:00:00 2001
From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Date: Tue, 20 Mar 2018 05:15:08 -0400
-Subject: [PATCH] Remove march=native flag.
+Subject: [PATCH 1/2] Remove march=native flag.
Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
---
@@ -9,7 +9,7 @@ Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
-index 259cddc..23b1c5f 100644
+index 6e8b081..eddec87 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -23,8 +23,8 @@ include(CheckCXXCompilerFlag)
@@ -24,5 +24,5 @@ index 259cddc..23b1c5f 100644
if (HAS_CPP14_FLAG)
--
-2.14.3
+2.17.1
diff --git a/0002-Fix-complex-test.patch b/0002-Fix-complex-test.patch
new file mode 100644
index 0000000..f26b3f6
--- /dev/null
+++ b/0002-Fix-complex-test.patch
@@ -0,0 +1,43 @@
+From 2dd7b359a17669f10203cd6b6b588780d46c6907 Mon Sep 17 00:00:00 2001
+From: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+Date: Wed, 8 Aug 2018 00:03:32 -0400
+Subject: [PATCH 2/2] Fix complex test.
+
+Signed-off-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
+---
+ test/test_xcomplex.cpp | 17 +++++++++++++----
+ 1 file changed, 13 insertions(+), 4 deletions(-)
+
+diff --git a/test/test_xcomplex.cpp b/test/test_xcomplex.cpp
+index d238f33..a8a96c9 100644
+--- a/test/test_xcomplex.cpp
++++ b/test/test_xcomplex.cpp
+@@ -253,12 +253,21 @@ namespace xtl
+ TEST(xcomplex, power)
+ {
+ complex_type c(1., 2.);
++ complex_type r, sr;
+ std::complex<double> sc(c);
+ double d = 1.5;
+- EXPECT_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
+- EXPECT_EQ(pow(c, d), complex_type(std::pow(sc, d)));
+- EXPECT_EQ(pow(d, c), complex_type(std::pow(d, sc)));
+- EXPECT_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#define EXPECT_COMPLEX_EQ(a, b) \
++ do { \
++ r = a; \
++ sr = b; \
++ EXPECT_DOUBLE_EQ(r.real(), sr.real()); \
++ EXPECT_DOUBLE_EQ(r.imag(), sr.imag()); \
++ } while (0)
++ EXPECT_COMPLEX_EQ(pow(c, c), complex_type(std::pow(sc, sc)));
++ EXPECT_COMPLEX_EQ(pow(c, d), complex_type(std::pow(sc, d)));
++ EXPECT_COMPLEX_EQ(pow(d, c), complex_type(std::pow(d, sc)));
++ EXPECT_COMPLEX_EQ(sqrt(c), complex_type(std::sqrt(sc)));
++#undef EXPECT_COMPLEX_EQ
+ }
+
+ TEST(xcomplex, trigonometric)
+--
+2.17.1
+
diff --git a/sources b/sources
index 2f1d908..d72e355 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (xtl-0.4.7.tar.gz) = 624233c436c25995717efd95c361522d415883bd70e19a1c92c77413d049465bca21b4315564f2ea7edf3ae6844a3a78f018d0281a2c73b040b2b7d9685fb1b7
+SHA512 (xtl-0.4.13.tar.gz) = 0bb041f34cc85a4fa2671fc82cfa31b504db9769d477e149d3a77cc2307609c086f88451106326a3a5a40ab9ba93eef450902d917548edb364c5be77288df7fa
diff --git a/xtl.spec b/xtl.spec
index 8ae1f24..00627b0 100644
--- a/xtl.spec
+++ b/xtl.spec
@@ -2,25 +2,27 @@
%global debug_package %{nil}
Name: xtl
-Version: 0.4.7
-Release: 2%{?dist}
+Version: 0.4.13
+Release: 1%{?dist}
License: BSD
Summary: QuantStack tools library
Url: https://github.com/QuantStack/xtl
Source0: https://github.com/QuantStack/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
# Just used in testing, and it breaks on some arches.
Patch0001: 0001-Remove-march-native-flag.patch
+# https://github.com/QuantStack/xtl/issues/97
+Patch0002: 0002-Fix-complex-test.patch
BuildRequires: binutils
BuildRequires: cmake
-BuildRequires: diffutils
BuildRequires: doxygen
BuildRequires: gcc-c++
BuildRequires: gtest-devel
BuildRequires: make
-BuildRequires: python3-breathe
-BuildRequires: python3-sphinx
-BuildRequires: python3-sphinx_rtd_theme
+BuildRequires: cmake(nlohmann_json)
+BuildRequires: python3dist(breathe)
+BuildRequires: python3dist(sphinx)
+BuildRequires: python3dist(sphinx-rtd-theme)
%description
Basic tools (containers, algorithms) used by other QuantStack packages.
@@ -73,12 +75,16 @@ make xtest
%license LICENSE
%{_includedir}/xtl/
%{_libdir}/cmake/xtl/
+%{_libdir}/pkgconfig/xtl.pc
%files doc
%doc docs/build/html
%changelog
+* Tue Aug 07 2018 Elliott Sales de Andrade <quantum.analyst@gmail.com> - 0.4.13-1
+- Update to latest version
+
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
next reply other threads:[~2026-07-11 22:45 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-11 22:45 Elliott Sales de Andrade [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-07-11 22:45 [rpms/xtl] epel10: Update to latest version sergesanspaille
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
2026-07-11 22:45 Elliott Sales de Andrade
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=178380992576.1.2320374239835984401.rpms-xtl-587b248fc695@fedoraproject.org \
--to=quantum.analyst@gmail.com \
--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