update to 1.1.0
This commit is contained in:
parent
64255a2833
commit
f527eaa1e8
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
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.0.2
|
||||
Version: 1.1.0
|
||||
Release: 1
|
||||
Summary: Ascii85 encoder/decoder
|
||||
License: MIT
|
||||
@ -35,16 +35,14 @@ cp -a .%{gem_dir}/* \
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
cp -a .%{_bindir}/* \
|
||||
%{buildroot}%{_bindir}/
|
||||
mv %{buildroot}%{gem_instdir}/{History.txt,README.rdoc} ./
|
||||
rm -rf %{buildroot}%{gem_instdir}/{.gitignore,.gemtest}
|
||||
rm -f %{buildroot}%{gem_instdir}/%{gem_name}.gemspec
|
||||
rm -rf %{buildroot}%{gem_instdir}/.yardoc
|
||||
install -D -m 644 ../ascii85.1 %{buildroot}%{_mandir}/man1/ascii85.1
|
||||
mv %{buildroot}%{gem_instdir}/{History.txt,README.md} ./
|
||||
rm -rf %{buildroot}%{gem_instdir}/.travis.yml
|
||||
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
|
||||
|
||||
|
||||
%check
|
||||
pushd ./%{gem_instdir}
|
||||
ruby -I./lib spec/lib/ascii85_spec.rb
|
||||
pushd .%{gem_instdir}
|
||||
ruby -e 'Dir.glob "./spec/**/*_spec.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
@ -58,12 +56,16 @@ popd
|
||||
%{_mandir}/man1/ascii85.1*
|
||||
|
||||
%files doc
|
||||
%doc History.txt README.rdoc
|
||||
%doc History.txt README.md
|
||||
%doc %{gem_docdir}
|
||||
%{gem_instdir}/Ascii85.gemspec
|
||||
%{gem_instdir}/Gemfile
|
||||
%{gem_instdir}/Rakefile
|
||||
%{gem_instdir}/spec
|
||||
|
||||
%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
|
||||
- package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user