Bump release
* Fix bogus date * Run test suite
This commit is contained in:
parent
84767b517a
commit
0fd046de96
3 changed files with 19 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
xml-simple-1.0.12.gem
|
||||
/xml-simple-1.1.2.gem
|
||||
/xml-simple-1.1.5.gem
|
||||
/xml-simple-tests.tar.gz
|
||||
|
|
|
|||
|
|
@ -2,15 +2,21 @@
|
|||
|
||||
Name: rubygem-%{gem_name}
|
||||
Version: 1.1.5
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: A simple API for XML processing
|
||||
Group: Development/Languages
|
||||
License: Ruby
|
||||
URL: https://github.com/maik/xml-simple
|
||||
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
||||
# git clone https://github.com/maik/xml-simple.git
|
||||
# cd xml-simple; tar -czf xml-simple-tests.tar.gz test
|
||||
Source1: %{gem_name}-tests.tar.gz
|
||||
BuildRequires: ruby(release)
|
||||
BuildRequires: rubygems-devel
|
||||
BuildRequires: ruby
|
||||
# tests
|
||||
BuildRequires: rubygem(test-unit)
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
|
|
@ -46,6 +52,11 @@ cp -a .%{gem_dir}/* \
|
|||
%check
|
||||
pushd .%{gem_instdir}
|
||||
|
||||
tar -xzf %{SOURCE1}
|
||||
# passing nil to xml_in makes it search for the ruby script being run
|
||||
ruby -Ilib test/tc_perl_in.rb
|
||||
rm test/tc_perl_in.rb
|
||||
ruby -Ilib -e 'Dir.glob "./test/*.rb", &method(:require)'
|
||||
popd
|
||||
|
||||
%files
|
||||
|
|
@ -58,6 +69,10 @@ popd
|
|||
%doc %{gem_docdir}
|
||||
|
||||
%changelog
|
||||
* Sat Feb 04 2017 Athos Ribeiro <athoscr@fedoraproject.org> - 1.1.5-2
|
||||
- Run test suite
|
||||
- Fix bogus date in spec file
|
||||
|
||||
* Sat Feb 04 2017 Athos Ribeiro <athoscr@fedoraproject.org> - 1.1.5-1
|
||||
- Update version
|
||||
|
||||
|
|
@ -97,7 +112,7 @@ popd
|
|||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.12-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Tue Apr 30 2010 Michal Fojtik <mfojtik@redhat.com> - 1.0.12-3
|
||||
* Fri Apr 30 2010 Michal Fojtik <mfojtik@redhat.com> - 1.0.12-3
|
||||
- Removed buildroot
|
||||
- Fixed emails and changelog formatting
|
||||
|
||||
|
|
|
|||
1
sources
1
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (xml-simple-1.1.5.gem) = 30b8e9541d4047181df34f3558235aa2058f8fda26220a90bc811b3f438130a69d06c72b52ba4fe5caadf779195d3bf772253bdb70db5df238f5117c7362e97f
|
||||
SHA512 (xml-simple-tests.tar.gz) = d70352ca4e962ae97fb38f9d426e79f2db6e7623620a740570e0f2e83db2e53177d44dbc3ac437b09aef9cccee63d79d1d668ca94cba7ef0c4c23ec61e154d82
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue