Support MiniTest 5.19+
This commit is contained in:
parent
b38035cdd0
commit
373e0fdada
@ -1,7 +1,7 @@
|
|||||||
%global mainver 1.15.3
|
%global mainver 1.15.3
|
||||||
#%%global prever .rc4
|
#%%global prever .rc4
|
||||||
|
|
||||||
%global baserelease 2
|
%global baserelease 3
|
||||||
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
%global prerpmver %(echo "%{?prever}" | sed -e 's|\\.||g')
|
||||||
|
|
||||||
%global gem_name nokogiri
|
%global gem_name nokogiri
|
||||||
@ -109,6 +109,11 @@ sed -i \
|
|||||||
gumbo-parser/src/Makefile \
|
gumbo-parser/src/Makefile \
|
||||||
-e 's|^\(CFLAGS.*=.*\)$|\1 -fPIC|'
|
-e 's|^\(CFLAGS.*=.*\)$|\1 -fPIC|'
|
||||||
|
|
||||||
|
# MiniTest 5.19+
|
||||||
|
%if 0%{?fedora} >= 39
|
||||||
|
grep -rl MiniTest nokogiri-*/test/ | xargs sed -i 's|MiniTest::|Minitest::|'
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Ummm...
|
# Ummm...
|
||||||
env LANG=C.UTF-8 gem build %{gem_name}-%{version}.gemspec
|
env LANG=C.UTF-8 gem build %{gem_name}-%{version}.gemspec
|
||||||
@ -271,6 +276,9 @@ popd
|
|||||||
%doc %{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
|
%doc %{gem_dir}/doc/%{gem_name}-%{mainver}%{?prever}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 4 2023 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.15.3-3
|
||||||
|
- Support MiniTest 5.19+
|
||||||
|
|
||||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.3-2
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.3-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user