From a72131bf14b552e2e5d79644bb1a92f8d3adcf00 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 19 May 2026 22:30:33 +0100 Subject: [PATCH 1/6] Use various long options --- utest.spec | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/utest.spec b/utest.spec index 512f6b7..e034cb2 100644 --- a/utest.spec +++ b/utest.spec @@ -42,7 +42,7 @@ that use %{name}. %autosetup -n utest.h-%{commit} # -Werror is too strict for distribution packaging: -sed -r -i 's/-Werror//' test/CMakeLists.txt +sed --regexp-extended --in-place 's/-Werror//' test/CMakeLists.txt %conf @@ -56,7 +56,8 @@ cd test %install -install -t '%{buildroot}%{_includedir}' -D -p -m 0644 utest.h +install -D --preserve-timestamps --mode=0644 \ + --target='%{buildroot}%{_includedir}' utest.h %check From 4050b6e3e997f022cd57cd1c410cfd1381b8dd41 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 2 Jun 2026 11:34:13 +0100 Subject: [PATCH 2/6] Update to 0^20260602.aca9d89, with ctest-based testing --- .gitignore | 1 + sources | 2 +- utest.spec | 15 ++++----------- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index a439f23..6d561a5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /utest.h-fb622dc480a56cc53ac9562a4436281bef91c989.tar.gz /utest.h-c08902bf53126c02bf320529e15306c7ddb6514e.tar.gz /utest.h-b9c006f31b266408bd53079ce7ad57939a237d9a.tar.gz +/utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz diff --git a/sources b/sources index 9abec0d..c6b5160 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utest.h-b9c006f31b266408bd53079ce7ad57939a237d9a.tar.gz) = 7e91354a58407d26fbd077273c84ba8370c87916ed586f82dfc0852c3f49290f011706c240724904d25d6baa72ca87d96330e04877ab5534591dee1a61ef0bb6 +SHA512 (utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz) = 9bf9d69371aaac610ed97d997afe7ca2b5fa6b729582975a04b55ae317d32ef1b3bc2004ce30f645b3264345a2b0508cc3f6c707549a9aeefd406d115dac3b07 diff --git a/utest.spec b/utest.spec index e034cb2..3bc5099 100644 --- a/utest.spec +++ b/utest.spec @@ -1,5 +1,5 @@ -%global commit b9c006f31b266408bd53079ce7ad57939a237d9a -%global snapdate 20260309 +%global commit aca9d89481e13f583ce35a715be286c89c9e0161 +%global snapdate 20260602 Name: utest Version: 0^%{snapdate}.%{sub %{commit} 1 7} @@ -11,9 +11,9 @@ URL: https://github.com/sheredom/utest.h Source: %{url}/archive/%{commit}/utest.h-%{commit}.tar.gz # For tests: +BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ -BuildRequires: cmake # No compiled binaries are installed, so this would be empty. %global debug_package %{nil} @@ -62,14 +62,7 @@ install -D --preserve-timestamps --mode=0644 \ %check cd test -# Note that utest_cmdline.filter_with_list only works if the current working -# directory contains the test executable. -cd %{_vpath_builddir} -for testbin in utest_test* -do - printf '\n==== %s ====\n\n' "${testbin}" 1>&2 - "./${testbin}" -done +%ctest %files devel From 46400703edf76c431b1c5580c66c9acfc48274e5 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:18:00 +0000 Subject: [PATCH 3/6] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 29cf5ee6b9695ebd18edd2de08b3b680ce1a8ba0 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 21 Jul 2026 06:33:43 +0100 Subject: [PATCH 4/6] Update to 0^20260620.1f1f6c2 --- .gitignore | 1 + sources | 2 +- utest.spec | 9 +++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6d561a5..8ab1ce3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /utest.h-c08902bf53126c02bf320529e15306c7ddb6514e.tar.gz /utest.h-b9c006f31b266408bd53079ce7ad57939a237d9a.tar.gz /utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz +/utest.h-1f1f6c2efc893eed31323caf3469dfe603e85243.tar.gz diff --git a/sources b/sources index c6b5160..b862a77 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz) = 9bf9d69371aaac610ed97d997afe7ca2b5fa6b729582975a04b55ae317d32ef1b3bc2004ce30f645b3264345a2b0508cc3f6c707549a9aeefd406d115dac3b07 +SHA512 (utest.h-1f1f6c2efc893eed31323caf3469dfe603e85243.tar.gz) = e8b50c4db9127cfc17df033f20061005cd432211a6cfbc22f280806ee4d5616e05846cfb1f324338568e608782f1c08054e296eb59303d9ef5418beba7a6ddfa diff --git a/utest.spec b/utest.spec index 3bc5099..e6ea889 100644 --- a/utest.spec +++ b/utest.spec @@ -1,5 +1,5 @@ -%global commit aca9d89481e13f583ce35a715be286c89c9e0161 -%global snapdate 20260602 +%global commit 1f1f6c2efc893eed31323caf3469dfe603e85243 +%global snapdate 20260620 Name: utest Version: 0^%{snapdate}.%{sub %{commit} 1 7} @@ -15,6 +15,11 @@ BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ +# The file test/subprocess.h is a vendored copy of +# https://github.com/sheredom/subprocess.h, but it is used only for testing and +# does not contribute to the binary RPMs, so we do not treat it as a bundled +# dependency. + # No compiled binaries are installed, so this would be empty. %global debug_package %{nil} From 3a915ca9942780067d519e1638d9d255579fe200 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Tue, 18 Aug 2026 21:21:57 +0100 Subject: [PATCH 5/6] Update to 0^20260818.b6230bc --- .gitignore | 1 + sources | 2 +- utest.spec | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 8ab1ce3..e55b126 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /utest.h-b9c006f31b266408bd53079ce7ad57939a237d9a.tar.gz /utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz /utest.h-1f1f6c2efc893eed31323caf3469dfe603e85243.tar.gz +/utest.h-b6230bc831f17e6c677daca8bd19894375a7c1b0.tar.gz diff --git a/sources b/sources index b862a77..6592260 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utest.h-1f1f6c2efc893eed31323caf3469dfe603e85243.tar.gz) = e8b50c4db9127cfc17df033f20061005cd432211a6cfbc22f280806ee4d5616e05846cfb1f324338568e608782f1c08054e296eb59303d9ef5418beba7a6ddfa +SHA512 (utest.h-b6230bc831f17e6c677daca8bd19894375a7c1b0.tar.gz) = e91ab9889368afd5dec769c72ac160655b2393ae48896fd9ede022bc693e1c9c97410924150b35887afb1908478155b646c6fe04cd2919113209f9ff31f93107 diff --git a/utest.spec b/utest.spec index e6ea889..94a3dc9 100644 --- a/utest.spec +++ b/utest.spec @@ -1,5 +1,5 @@ -%global commit 1f1f6c2efc893eed31323caf3469dfe603e85243 -%global snapdate 20260620 +%global commit b6230bc831f17e6c677daca8bd19894375a7c1b0 +%global snapdate 20260818 Name: utest Version: 0^%{snapdate}.%{sub %{commit} 1 7} From bdb315a6200f5751b1932b011b895c707aae4533 Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sat, 22 Aug 2026 08:50:17 +0100 Subject: [PATCH 6/6] Update to 0^20260822.3484d22 --- .gitignore | 1 + sources | 2 +- utest.spec | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e55b126..2b73505 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /utest.h-aca9d89481e13f583ce35a715be286c89c9e0161.tar.gz /utest.h-1f1f6c2efc893eed31323caf3469dfe603e85243.tar.gz /utest.h-b6230bc831f17e6c677daca8bd19894375a7c1b0.tar.gz +/utest.h-3484d22ea2e9cb80ca87d556c49924e158035ae4.tar.gz diff --git a/sources b/sources index 6592260..fe2c4f7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (utest.h-b6230bc831f17e6c677daca8bd19894375a7c1b0.tar.gz) = e91ab9889368afd5dec769c72ac160655b2393ae48896fd9ede022bc693e1c9c97410924150b35887afb1908478155b646c6fe04cd2919113209f9ff31f93107 +SHA512 (utest.h-3484d22ea2e9cb80ca87d556c49924e158035ae4.tar.gz) = f5360463bf13b05ceda315cfe1c582abf048d56c3960de3b445afba96e82988d747389855c92d88c2cbcbf8f81384d189cfbb64ad845df8230175984cf41808a diff --git a/utest.spec b/utest.spec index 94a3dc9..5ee6673 100644 --- a/utest.spec +++ b/utest.spec @@ -1,5 +1,5 @@ -%global commit b6230bc831f17e6c677daca8bd19894375a7c1b0 -%global snapdate 20260818 +%global commit 3484d22ea2e9cb80ca87d556c49924e158035ae4 +%global snapdate 20260822 Name: utest Version: 0^%{snapdate}.%{sub %{commit} 1 7}