|
|
6a51a1c |
%global gem_name crack
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
Summary: Really simple JSON and XML parsing, ripped from Merb and Rails
|
|
|
6a51a1c |
Name: rubygem-%{gem_name}
|
|
|
e8c0c70 |
Version: 0.4.2
|
|
|
3003279 |
Release: 4%{?dist}
|
|
stahnma |
df04e54 |
Group: Development/Languages
|
|
stahnma |
df04e54 |
License: MIT
|
|
stahnma |
df04e54 |
URL: http://github.com/jnunemaker/crack
|
|
|
6a51a1c |
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
3003279 |
# ruby package has just soft dependency on rubygem(bigdecimal), while
|
|
|
3003279 |
# crack always requires it.
|
|
|
3003279 |
Requires: rubygem(bigdecimal)
|
|
|
6a51a1c |
BuildRequires: rubygems-devel
|
|
|
3003279 |
BuildRequires: rubygem(bigdecimal)
|
|
|
6a51a1c |
BuildRequires: rubygem(minitest)
|
|
|
e8c0c70 |
BuildRequires: rubygem(safe_yaml)
|
|
stahnma |
df04e54 |
BuildArch: noarch
|
|
Michael Stahnke |
c71900e |
#BZ 781829
|
|
Michael Stahnke |
c71900e |
Epoch: 1
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%description
|
|
stahnma |
df04e54 |
Really simple JSON and XML parsing, ripped from Merb and Rails.
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%package doc
|
|
stahnma |
df04e54 |
Summary: Documentation for %{name}
|
|
stahnma |
df04e54 |
Group: Documentation
|
|
stahnma |
df04e54 |
|
|
|
7e2b40f |
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%description doc
|
|
stahnma |
df04e54 |
This package contains documentation for %{name}.
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%prep
|
|
|
e8c0c70 |
%setup -q -c -T
|
|
|
e8c0c70 |
%gem_install -n %{SOURCE0}
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%build
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%install
|
|
|
e8c0c70 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
e8c0c70 |
cp -a .%{gem_dir}/* \
|
|
|
e8c0c70 |
%{buildroot}%{gem_dir}/
|
|
|
e8c0c70 |
|
|
|
e8c0c70 |
# Fix non-standard-executable-perm rpmlint warning.
|
|
|
e8c0c70 |
chmod a+x %{buildroot}%{gem_instdir}/script/*
|
|
|
e8c0c70 |
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%check
|
|
|
e8c0c70 |
pushd .%{gem_instdir}
|
|
|
e8c0c70 |
ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
|
|
|
9f791d2 |
popd
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%files
|
|
|
6a51a1c |
%dir %{gem_instdir}
|
|
|
e8c0c70 |
%exclude %{gem_instdir}/.*
|
|
|
6a51a1c |
%doc %{gem_instdir}/LICENSE
|
|
|
e8c0c70 |
%doc %{gem_instdir}/README.md
|
|
|
6a51a1c |
%doc %{gem_instdir}/History
|
|
|
6a51a1c |
%{gem_libdir}
|
|
|
9f791d2 |
%exclude %{gem_cache}
|
|
|
6a51a1c |
%{gem_spec}
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%files doc
|
|
|
e8c0c70 |
%doc %{gem_docdir}
|
|
|
e8c0c70 |
%{gem_instdir}/Gemfile
|
|
|
e8c0c70 |
%{gem_instdir}/crack.gemspec
|
|
|
e8c0c70 |
%{gem_instdir}/script
|
|
|
6a51a1c |
%{gem_instdir}/test
|
|
stahnma |
df04e54 |
|
|
stahnma |
df04e54 |
%changelog
|
|
|
3003279 |
* Mon Apr 11 2016 Vít Ondruch <vondruch@redhat.com> - 1:0.4.2-4
|
|
|
3003279 |
- Explicitly set rubygem(bigdecimal) dependency.
|
|
|
3003279 |
|
|
|
9452493 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.4.2-3
|
|
|
9452493 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
9452493 |
|
|
|
abf1d5d |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4.2-2
|
|
|
abf1d5d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
abf1d5d |
|
|
|
e8c0c70 |
* Mon Jul 14 2014 Vít Ondruch <vondruch@redhat.com> - 1:0.4.2-1
|
|
|
e8c0c70 |
- Update to crack 0.4.2.
|
|
|
e8c0c70 |
|
|
|
7fc4415 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.2-3
|
|
|
7fc4415 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
7fc4415 |
|
|
|
98d589b |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.2-2
|
|
|
98d589b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
98d589b |
|
|
|
9f791d2 |
* Mon Mar 11 2013 Vít Ondruch <vondruch@redhat.com> - 1:0.3.2-1
|
|
|
3eb8e0a |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
9f791d2 |
- Update to crack 0.3.2.
|
|
|
3eb8e0a |
|
|
|
2ebc387 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.1-5
|
|
|
2ebc387 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
2ebc387 |
|
|
|
6ee7f35 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.3.1-4
|
|
|
6ee7f35 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
6ee7f35 |
|
|
|
7e2b40f |
* Wed Mar 14 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:0.3.1-3
|
|
|
7e2b40f |
- Properly require the main package (with epoch) from the -doc subpackage.
|
|
|
7e2b40f |
|
|
|
8a74212 |
* Wed Mar 07 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1:0.3.1-2
|
|
|
6a51a1c |
- Update to 0.3.1
|
|
|
6a51a1c |
|
|
Michael Stahnke |
91fe91f |
* Sun Feb 05 2012 <stahnma@fedoraproject.org> - 0.1.8-5
|
|
Michael Stahnke |
c71900e |
- Revert back to 0.1.8 as HTTParty can't use crack > 0.1.8
|
|
Michael Stahnke |
c71900e |
|
|
Michael Stahnke |
59dc2b5 |
* Wed Dec 28 2011 <stahnma@fedoraproject.org> - 0.3.1-1
|
|
Michael Stahnke |
59dc2b5 |
- Update to 0.3.1
|
|
Michael Stahnke |
59dc2b5 |
- Fix bz #715704
|
|
Michael Stahnke |
59dc2b5 |
|
|
Michael Stahnke |
59dc2b5 |
* Thu Nov 10 2011 Michael Stahnke <mastahnke@gmail.com> - 0.1.8-3
|
|
Michael Stahnke |
59dc2b5 |
- rebuilt
|
|
Michael Stahnke |
59dc2b5 |
|
|
|
168513b |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org>
|
|
|
168513b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
168513b |
|
|
stahnma |
df04e54 |
* Mon Aug 23 2010 Michael Stahnke <stahnma@fedoraproject.org> - 0.1.8-1
|
|
stahnma |
df04e54 |
- Broke package into main and doc
|
|
stahnma |
df04e54 |
- Added tests
|