!2 Update to 1.1.0
From: @bzg1107 Reviewed-by: @small_leek Signed-off-by: @small_leek
This commit is contained in:
commit
b247ba4aa1
Binary file not shown.
BIN
Ascii85-1.1.0.gem
Normal file
BIN
Ascii85-1.1.0.gem
Normal file
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
%global gem_name Ascii85
|
%global gem_name Ascii85
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.0.2
|
Version: 1.1.0
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Ascii85 encoder/decoder
|
Summary: Ascii85 encoder/decoder
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -35,16 +35,14 @@ cp -a .%{gem_dir}/* \
|
|||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
cp -a .%{_bindir}/* \
|
cp -a .%{_bindir}/* \
|
||||||
%{buildroot}%{_bindir}/
|
%{buildroot}%{_bindir}/
|
||||||
mv %{buildroot}%{gem_instdir}/{History.txt,README.rdoc} ./
|
mv %{buildroot}%{gem_instdir}/{History.txt,README.md} ./
|
||||||
rm -rf %{buildroot}%{gem_instdir}/{.gitignore,.gemtest}
|
rm -rf %{buildroot}%{gem_instdir}/.travis.yml
|
||||||
rm -f %{buildroot}%{gem_instdir}/%{gem_name}.gemspec
|
install -D -m 644 ../ascii85.1 %{buildroot}%{_mandir}/man1/ascii85.1
|
||||||
rm -rf %{buildroot}%{gem_instdir}/.yardoc
|
|
||||||
install -D -m 644 ../ascii85.1 %{buildroot}%{_mandir}/man1/ascii85.1
|
|
||||||
sed -i 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/ascii85
|
sed -i 's|#!/usr/bin/env ruby|#!/usr/bin/ruby|' %{buildroot}%{gem_instdir}/bin/ascii85
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd ./%{gem_instdir}
|
pushd .%{gem_instdir}
|
||||||
ruby -I./lib spec/lib/ascii85_spec.rb
|
ruby -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)'
|
||||||
popd
|
popd
|
||||||
|
|
||||||
%files
|
%files
|
||||||
@ -58,12 +56,16 @@ popd
|
|||||||
%{_mandir}/man1/ascii85.1*
|
%{_mandir}/man1/ascii85.1*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc History.txt README.rdoc
|
%doc History.txt README.md
|
||||||
%doc %{gem_docdir}
|
%doc %{gem_docdir}
|
||||||
|
%{gem_instdir}/Ascii85.gemspec
|
||||||
%{gem_instdir}/Gemfile
|
%{gem_instdir}/Gemfile
|
||||||
%{gem_instdir}/Rakefile
|
%{gem_instdir}/Rakefile
|
||||||
%{gem_instdir}/spec
|
%{gem_instdir}/spec
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 28 2022 baizhonggui <baizhonggui@h-partners.com> - 1.1.0-1
|
||||||
|
- update to 1.1.0
|
||||||
|
|
||||||
* Wed Aug 5 2020 wangchong <wangchong56@huawei.com> - 1.0.2-1
|
* Wed Aug 5 2020 wangchong <wangchong56@huawei.com> - 1.0.2-1
|
||||||
- package init
|
- package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user