From 727dfd68bf25c71dfd1b7024d048860df67ba834 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 10 Apr 2022 12:00:14 +0200 Subject: [PATCH 01/19] Version 0.2 --- .gitignore | 1 + sources | 1 + yaksa.spec | 12 +++++++----- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .gitignore create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce7291c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/yaksa-0.2.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..17b7dd3 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (yaksa-0.2.tar.gz) = 216c1ddf99b831a5beb74fff7fb54bb70a665fcc8f27d9c82e9066015fbad879b46c64c90390dc508f096fea42409febea69d0e0e3acd62cf1248b753288dfcc diff --git a/yaksa.spec b/yaksa.spec index 5c77064..efcd53a 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,5 +1,5 @@ Name: yaksa -Version: 0.1 +Version: 0.2 Release: %autorelease Summary: High-performance library for noncontiguous data @@ -18,10 +18,9 @@ BuildRequires: gcc BuildRequires: python3 %description -Yaksa is a high-performance noncontiguous datatype engine that can be -used to express and manipulate noncontiguous data. The library sports -features related to packing/unpacking, I/O vectors, and flattening -noncontiguous datatypes. +Yaksa is a high-performance noncontiguous datatype engine that can be used to +express and manipulate noncontiguous data. The library sports features related +to packing/unpacking, I/O vectors, and flattening noncontiguous datatypes. %package devel Summary: Development files for libyaksa @@ -44,6 +43,9 @@ Requires: %{name}%{_isa} = %{version}-%{release} rm %{buildroot}%{_libdir}/libyaksa.la +%check +%make_build testing + %global soversion 0 %files From e1a80c841903be4d023fcd2224f918553e5b7e4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Fri, 6 May 2022 21:31:20 +0200 Subject: [PATCH 02/19] Unbundle uthash --- yaksa.spec | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/yaksa.spec b/yaksa.spec index efcd53a..3b6e4cb 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -16,6 +16,7 @@ BuildRequires: libtool BuildRequires: make BuildRequires: gcc BuildRequires: python3 +BuildRequires: uthash-devel %description Yaksa is a high-performance noncontiguous datatype engine that can be used to @@ -32,6 +33,11 @@ Requires: %{name}%{_isa} = %{version}-%{release} %prep %autosetup +# Poor man's unbundling: uthash is a header-only library, so we can +# effectively replace the local version with the system copy by symlinking. +ln -fvs /usr/include/uthash.h src/external/yuthash.h +ln -fvs /usr/include/utlist.h src/external/yutlist.h + %build ./autogen.sh %configure \ From 1c02212666fda79ba4ebb450293e385e4cf3fa51 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:41:12 +0000 Subject: [PATCH 03/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 528d57e3c954abfedba6f530f5ac09abaa9170fa Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:01:11 +0000 Subject: [PATCH 04/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 430d0a73a9cbcf3bf3a11f509fd45bef221a5dfa Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 1 Mar 2023 15:06:32 -0600 Subject: [PATCH 05/19] migrated to SPDX license --- yaksa.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaksa.spec b/yaksa.spec index 3b6e4cb..8c85ff1 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -6,7 +6,7 @@ Summary: High-performance library for noncontiguous data %global forgeurl https://github.com/pmodels/yaksa/ %forgemeta -License: BSD +License: BSD-3-Clause URL: %forgeurl Source0: %forgesource From 54b36a0cdef631497b53beda9d04e7172b7b8647 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:26:49 +0000 Subject: [PATCH 06/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 0e7d951e2b8b18d63799c76e34949800fdc9377f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 25 Jul 2023 14:53:50 +0200 Subject: [PATCH 07/19] Small modernization [skip changelog] --- yaksa.spec | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/yaksa.spec b/yaksa.spec index 8c85ff1..d554ba9 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -6,6 +6,8 @@ Summary: High-performance library for noncontiguous data %global forgeurl https://github.com/pmodels/yaksa/ %forgemeta +%global soversion 0 + License: BSD-3-Clause URL: %forgeurl Source0: %forgesource @@ -52,13 +54,10 @@ rm %{buildroot}%{_libdir}/libyaksa.la %check %make_build testing -%global soversion 0 - %files %license COPYRIGHT %doc README.md -%{_libdir}/libyaksa.so.%{soversion} -%{_libdir}/libyaksa.so.%{soversion}.* +%{_libdir}/libyaksa.so.%{soversion}{,.*} %files devel %{_includedir}/yaksa.h From afb44312830b61532e028b93df7bc86615115aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 25 Jul 2023 14:57:34 +0200 Subject: [PATCH 08/19] Add timeout for the %check invocation Releng builds were all canceled, and I think this might have been because of a hang in tests. --- yaksa.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yaksa.spec b/yaksa.spec index d554ba9..92fe6c5 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -52,7 +52,8 @@ ln -fvs /usr/include/utlist.h src/external/yutlist.h rm %{buildroot}%{_libdir}/libyaksa.la %check -%make_build testing +timeout -v 2h \ + %make_build testing %files %license COPYRIGHT From 0e9daf4c4e5dfdea04f36a515b6f2c80e3451354 Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 25 Jan 2024 12:18:17 +0100 Subject: [PATCH 09/19] Update to 0.3 --- .gitignore | 1 + sources | 2 +- yaksa.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ce7291c..d0408a6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /yaksa-0.2.tar.gz +/yaksa-0.3.tar.gz diff --git a/sources b/sources index 17b7dd3..9bef56a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yaksa-0.2.tar.gz) = 216c1ddf99b831a5beb74fff7fb54bb70a665fcc8f27d9c82e9066015fbad879b46c64c90390dc508f096fea42409febea69d0e0e3acd62cf1248b753288dfcc +SHA512 (yaksa-0.3.tar.gz) = 597f01ea807ff3a461f9e6b381a9082492005b7930d82474874854f8c26f038de6e8ad9f26e1e170c8911c06f2043ad6db3471b78b34d7311f914e73414f997c diff --git a/yaksa.spec b/yaksa.spec index 92fe6c5..8bbbd22 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,5 +1,5 @@ Name: yaksa -Version: 0.2 +Version: 0.3 Release: %autorelease Summary: High-performance library for noncontiguous data From d841430ff5104d51dce3391b59211667a62f62ac Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 25 Jan 2024 12:20:04 +0100 Subject: [PATCH 10/19] Make tests conditional They take a long time and appear to hang. This way the build can be verified with `fedpkg mockbuild --without tests`. --- yaksa.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/yaksa.spec b/yaksa.spec index 8bbbd22..28afdcf 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,3 +1,5 @@ +%bcond tests 1 + Name: yaksa Version: 0.3 Release: %autorelease @@ -51,9 +53,11 @@ ln -fvs /usr/include/utlist.h src/external/yutlist.h rm %{buildroot}%{_libdir}/libyaksa.la +%if %{with tests} %check timeout -v 2h \ %make_build testing +%endif %files %license COPYRIGHT From e5b2007f35cf553d7accc92ade80e57946153445 Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 25 Jan 2024 18:31:12 +0100 Subject: [PATCH 11/19] Disable tests for now The tests appear not to be running at all. No output, on screen or in a file, is produced. I attached `strace` to one of the `make` processes and it didn't show anything happening, either. All I saw was: write(1, "/bin/sh ./libtool --tag=CC --"..., 1836 I will take a poke at the tests again later. --- yaksa.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/yaksa.spec b/yaksa.spec index 28afdcf..e2c9f0c 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,4 +1,6 @@ -%bcond tests 1 +# Test appear to be broken or need to be run differently. +# Disable them for now instead of needlessly delaying the build for 2h. +%bcond tests 0 Name: yaksa Version: 0.3 From dd2d1cd49693ef2e525226e3b28b1f6638718544 Mon Sep 17 00:00:00 2001 From: Sandro Date: Thu, 25 Jan 2024 23:51:04 +0100 Subject: [PATCH 12/19] Re-enable tests and run them with plain 'make' --- yaksa.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/yaksa.spec b/yaksa.spec index e2c9f0c..2e9ca36 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,6 +1,4 @@ -# Test appear to be broken or need to be run differently. -# Disable them for now instead of needlessly delaying the build for 2h. -%bcond tests 0 +%bcond tests 1 Name: yaksa Version: 0.3 @@ -57,8 +55,7 @@ rm %{buildroot}%{_libdir}/libyaksa.la %if %{with tests} %check -timeout -v 2h \ - %make_build testing +timeout -v 2h make -j%{_smp_build_ncpus} testing %endif %files From f7010abe2cb340c33d8556563568478029914bdc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 10:37:32 +0000 Subject: [PATCH 13/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d6a38109122f26126d2f296654e5645b5028ee64 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:37:45 +0000 Subject: [PATCH 14/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 7441c13b5f63619e3e43d80d451da0dbf2e7776c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:29:08 +0000 Subject: [PATCH 15/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 9aef0372c88ff0e69468242fad84d6dd5b6296f0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:09:58 +0000 Subject: [PATCH 16/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 670cc8515e2f377a767d94b77aaaca553db99a59 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:59:44 +0000 Subject: [PATCH 17/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 108ac0c79661ffb455e165f745327a64bbe595da Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:32:13 +0000 Subject: [PATCH 18/19] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 1b4ff33ecfb8c50eba3c35116373cb59516a47b6 Mon Sep 17 00:00:00 2001 From: Artur Frenszek-Iwicki Date: Sun, 30 Aug 2026 18:05:42 +0200 Subject: [PATCH 19/19] Update to v0.4 --- .gitignore | 1 + sources | 2 +- yaksa.spec | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d0408a6..ca6693b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /yaksa-0.2.tar.gz /yaksa-0.3.tar.gz +/yaksa-0.4.tar.gz diff --git a/sources b/sources index 9bef56a..a9ac232 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yaksa-0.3.tar.gz) = 597f01ea807ff3a461f9e6b381a9082492005b7930d82474874854f8c26f038de6e8ad9f26e1e170c8911c06f2043ad6db3471b78b34d7311f914e73414f997c +SHA512 (yaksa-0.4.tar.gz) = cc8c309bdbd732733d7c87ec1ca0f9e3a9147ecd13e9f1a8fa53cada68c731b53ce8fdaf55a423cc6915a31edd82a91def2f485ad26caaec6837041dbdf7a7a4 diff --git a/yaksa.spec b/yaksa.spec index 2e9ca36..c4215a5 100644 --- a/yaksa.spec +++ b/yaksa.spec @@ -1,7 +1,7 @@ %bcond tests 1 Name: yaksa -Version: 0.3 +Version: 0.4 Release: %autorelease Summary: High-performance library for noncontiguous data