This commit is contained in:
Mamoru TASAKA 2024-05-31 13:47:14 +09:00
commit d717fbc4e7
3 changed files with 15 additions and 9 deletions

View file

@ -1,12 +1,12 @@
%global gem_name test-unit-ruby-core
Name: rubygem-%{gem_name}
Version: 1.0.5
Release: 2%{?dist}
Version: 1.0.6
Release: 1%{?dist}
Summary: Additional test assertions for Ruby standard libraries
# SPDX confirmed
License: BSD-2-Clause
License: BSD-2-Clause OR Ruby
URL: https://github.com/ruby/test-unit-ruby-core
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
@ -43,7 +43,8 @@ cp -a .%{gem_dir}/* \
# Install additional files
cp -a \
LICENSE.txt \
BSDL \
COPYING \
README.md \
%{buildroot}%{gem_instdir}/
@ -56,7 +57,8 @@ exit 0
%files
%dir %{gem_instdir}
%doc %{gem_instdir}/README.md
%license %{gem_instdir}/LICENSE.txt
%license %{gem_instdir}/BSDL
%license %{gem_instdir}/COPYING
%{gem_libdir}
%{gem_spec}
@ -65,6 +67,9 @@ exit 0
%changelog
* Fri May 31 2024 Mamoru TASAKA <mtasaka@fedoraproject.org> - 1.0.6-1
- 1.0.6
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View file

@ -1,2 +1,2 @@
SHA512 (test-unit-ruby-core-1.0.5.gem) = 0fe157b49be30788c14c77e5676065ca3e1150f95b1ea4c0f68552ed331127263c996798ca82bb02e1d0d6afe2de9bc186da4cb89fdc922284d17ab77fe623ed
SHA512 (test-unit-ruby-core-1.0.5-additional.tar.gz) = 65f990b3e77bce7ebe28570a1d50049090d897988f171b6019e6c9eeb381aee3b864cad5e0ea9df622dbdc527aaf5db5d91718d2b708dd27302123d041d4e01b
SHA512 (test-unit-ruby-core-1.0.6.gem) = 0fdf7cd9d3154c4c708ff3936bc8200cc3ba3cc169c9dee068634382874615a47f4f866e4f22914bb741f6c00b0401c1911b7758283863787ac1a6c43a96f17e
SHA512 (test-unit-ruby-core-1.0.6-additional.tar.gz) = ee634421b8e5ce866a462db30d1a759855bfea8b49986525c491cdfe514c94813934e869f64db73ba0c76bf33f84da15c1152411a83cf13fa64bde68c658ffbd

View file

@ -24,10 +24,11 @@ git clone ${REPOURL}/${REPONAME}.git
ln -sf ${REPONAME} ${REPONAME}-${VERSION}
cd ${REPONAME}
git checkout -b fedora-${VERSION} v${VERSION}
git checkout -b fedora-${VERSION} v${VERSION} || true
cd ..
tar czf $TARBALLNAME \
${REPONAME}-${VERSION}/LICENSE.txt \
${REPONAME}-${VERSION}/BSDL \
${REPONAME}-${VERSION}/COPYING \
${REPONAME}-${VERSION}/README.md \
mv $TARBALLNAME $CURRDIR