public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mamoru TASAKA <mtasaka@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rubygem-nokogiri] rawhide: Execute gumbo testsuite
Date: Wed, 03 Jun 2026 04:53:23 GMT	[thread overview]
Message-ID: <178046240353.1.3497065408396075582.rpms-rubygem-nokogiri-c27e8fa727cf@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rubygem-nokogiri
Branch : rawhide
Commit : c27e8fa727cfe0a47a7bf357863cf24ed5ea3944
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-06-03T13:53:09+09:00
Stats  : +22/-1 in 1 file(s)
URL    : https://src.fedoraproject.org/rpms/rubygem-nokogiri/c/c27e8fa727cfe0a47a7bf357863cf24ed5ea3944?branch=rawhide

Log:
Execute gumbo testsuite

---
diff --git a/rubygem-nokogiri.spec b/rubygem-nokogiri.spec
index e095fe1..b5ace26 100644
--- a/rubygem-nokogiri.spec
+++ b/rubygem-nokogiri.spec
@@ -1,7 +1,7 @@
 %global	mainver		1.19.3
 #%%global	prever		.rc4
 
-%global	baserelease		1
+%global	baserelease		2
 %global	prerpmver		%(echo "%{?prever}" | sed -e 's|\\.||g')
 
 %global	gem_name	nokogiri
@@ -51,6 +51,9 @@ BuildRequires:	gcc
 BuildRequires:	libxml2-devel
 BuildRequires:	libxslt-devel
 BuildRequires:	ruby-devel
+# gumbo:test
+BuildRequires:	gcc-c++
+BuildRequires:	gtest-devel
 # ruby27 needs this explicitly
 BuildRequires:	rubygem(racc)
 
@@ -120,6 +123,15 @@ sed -i \
 	gumbo-parser/src/Makefile \
 	-e 's|^\(CFLAGS.*=.*\)$|\1 -fPIC|'
 
+# gumbo:test related
+sed -i \
+	gumbo-parser/Makefile \
+	-e '\@CFLAGS.*:=@s|^\(.*\)$|\1 %build_cflags|' \
+	-e '\@CXXFLAGS.*:=@s|^\(.*\)$|\1 %build_cflags|' \
+	-e 's|-std=c++11|-std=c++17|' \
+	-e '\@gtest_lib.*:=@s|googletest/make/gtest_main.a|%{_libdir}/libgtest_main.so %{_libdir}/libgtest.so|' \
+	%{nil}
+
 %build
 # Ummm...
 env LANG=C.UTF-8 gem build %{gem_name}-%{version}.gemspec
@@ -202,6 +214,12 @@ popd
 rm -f %{buildroot}%{gem_cache}
 
 %check
+# gumbo:test
+cd gumbo-parser
+make build/run_tests %{?_smp_mflags}
+make check
+cd ..
+
 # Ah....
 # test_exslt(TestXsltTransforms) [./test/test_xslt_transforms.rb:93]
 # fails without TZ on sparc
@@ -276,6 +294,9 @@ popd
 %doc	%{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
 
 %changelog
+* Wed Jun 03 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.19.3-2
+- Execute gumbo testsuite
+
 * Tue Apr 28 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.19.3-1
 - 1.19.3
 

                 reply	other threads:[~2026-06-03  4:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178046240353.1.3497065408396075582.rpms-rubygem-nokogiri-c27e8fa727cf@fedoraproject.org \
    --to=mtasaka@fedoraproject.org \
    --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