From c522a80cb0e6edd48710e9117d19a0e8d7dbaa36 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:22:04 +0000 Subject: [PATCH 1/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 80be453dc0ce856b2c0eed9e12e6ceb1f3a3df1d Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Sun, 28 Sep 2025 03:28:25 +0800 Subject: [PATCH 2/5] Update to snapshot 06c17a7fa9f538b512360e6c78a57b463dcbf9e4 --- .gitignore | 5 +---- sources | 2 +- zycore-c.spec | 41 +++++++++++++++++------------------------ 3 files changed, 19 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index 7ef817f..6532150 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1 @@ -/zycore-c-1.4.1.tar.gz -/zycore-c-1.5.0.tar.gz -/zycore-c-1.5.1.tar.gz -/zycore-c-1.5.2.tar.gz +/zycore-c-*.tar* diff --git a/sources b/sources index d95fedc..c6fa383 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zycore-c-1.5.2.tar.gz) = dd410010b99e11f40ad5234d21c9857bd57e47591ed9caec45c6199bfd690f7158499659c874680f2087bfd2b6eee41f08e95c367f83af3585690ce7d20ccb87 +SHA512 (zycore-c-06c17a7fa9f538b512360e6c78a57b463dcbf9e4.tar.gz) = 560d8330239fe547d38eb5674f89b7c6edb44a19e9566a9d0b203645bbbb048c68b096e1bd16cb7a374fbd2ce191020aa5edb83597806f324489f718ddf14488 diff --git a/zycore-c.spec b/zycore-c.spec index c2d5081..0e21d23 100644 --- a/zycore-c.spec +++ b/zycore-c.spec @@ -1,10 +1,10 @@ -%global forgeurl https://github.com/zyantific/zycore-c +Name: zycore-c Version: 1.5.2 + +%global forgeurl https://github.com/zyantific/%{name} +%global commit 06c17a7fa9f538b512360e6c78a57b463dcbf9e4 %forgemeta -%global sover %{echo %{version} | cut -d '.' -f 1,2} - -Name: zycore-c Release: %autorelease Summary: Zyan Core Library for C @@ -12,13 +12,10 @@ License: MIT URL: %{forgeurl} Source0: %{forgesource} -# https://github.com/zyantific/zycore-c/issues/59 -ExcludeArch: s390x - +BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: cmake -BuildRequires: ninja-build -BuildRequires: gtest-devel +BuildRequires: meson >= 1.3 +BuildRequires: pkgconfig(gtest) BuildRequires: doxygen %description @@ -41,33 +38,29 @@ BuildArch: noarch The %{name}-doc package contains the documentation for %{name}. %prep -%autosetup -p1 +%forgesetup %build -%cmake \ - -GNinja \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DZYCORE_BUILD_SHARED_LIB=ON \ - -DZYCORE_BUILD_TESTS=ON \ - -DZYCORE_BUILD_EXAMPLES=ON \ -%cmake_build +%meson \ + -Ddoc=enabled \ + -Dtests=enabled \ + -Dexamples=enabled \ +%meson_build %install -%cmake_install - -rm -r %{buildroot}%{_mandir}/man3 +%meson_install %check -%ctest +%meson_test %files %license LICENSE %doc README.md -%{_libdir}/libZycore.so.%{sover}* +%{_libdir}/libZycore.so.1* %files devel %{_includedir}/Zycore/ -%{_libdir}/cmake/zycore/ +%{_libdir}/pkgconfig/zycore.pc %{_libdir}/libZycore.so %files doc From d9681a4ba49a995b084e0272e44e8d76002172de Mon Sep 17 00:00:00 2001 From: Zephyr Lykos Date: Sun, 28 Sep 2025 10:19:29 +0800 Subject: [PATCH 3/5] Fix tests on s390x --- sources | 2 +- zycore-c.spec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sources b/sources index c6fa383..ac111df 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zycore-c-06c17a7fa9f538b512360e6c78a57b463dcbf9e4.tar.gz) = 560d8330239fe547d38eb5674f89b7c6edb44a19e9566a9d0b203645bbbb048c68b096e1bd16cb7a374fbd2ce191020aa5edb83597806f324489f718ddf14488 +SHA512 (zycore-c-ba34692d371cde5f45539b5fa26ea11b09721751.tar.gz) = 03a570bc6415a4aed8183590a56a69b8bdffffcca84383cb411af58b479cad367d5206839ddacd3a0b9a90a6a2c4134d6234f94de386dbfaad73e75ad6d7307b diff --git a/zycore-c.spec b/zycore-c.spec index 0e21d23..b9807d1 100644 --- a/zycore-c.spec +++ b/zycore-c.spec @@ -2,7 +2,7 @@ Name: zycore-c Version: 1.5.2 %global forgeurl https://github.com/zyantific/%{name} -%global commit 06c17a7fa9f538b512360e6c78a57b463dcbf9e4 +%global commit ba34692d371cde5f45539b5fa26ea11b09721751 %forgemeta Release: %autorelease From f4976635d47d50ad071244748846d497c6f209cc Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 21:12:14 +0000 Subject: [PATCH 4/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From c864314c0dc7ca752f2866d585d9e05a29a6de6c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:44:50 +0000 Subject: [PATCH 5/5] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild