Rebuilt for Ruby 1.9.3.

epel9
Vít Ondruch 13 years ago
parent fa82d4be72
commit 7270d7610c

@ -1,27 +1,26 @@
# Generated from tzinfo-0.3.26.gem by gem2rpm -*- rpm-spec -*-
%global gemname tzinfo
%global gem_name tzinfo
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global download_path http://rubygems.org/downloads/
%global rubyabi 1.8
%global rubyabi 1.9.1
Summary: Daylight-savings aware timezone library
Name: rubygem-%{gemname}
Name: rubygem-%{gem_name}
Version: 0.3.30
Release: 2%{?dist}
Release: 3%{?dist}
Group: Development/Languages
License: MIT
URL: http://tzinfo.rubyforge.org/
Source0: %{download_path}%{gemname}-%{version}.gem
Source0: %{download_path}%{gem_name}-%{version}.gem
Requires: ruby(abi) = %{rubyabi}
Requires: ruby(rubygems)
Requires: ruby
BuildRequires: ruby(rubygems)
BuildRequires: rubygems-devel
BuildRequires: ruby(abi) = %{rubyabi}
BuildRequires: ruby
BuildRequires: rubygem(minitest)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
Provides: rubygem(%{gem_name}) = %{version}
%description
TZInfo is a Ruby library that uses the standard tz (Olson) database to provide
@ -38,37 +37,40 @@ This package contains documentation for %{name}.
%prep
%setup -q -c -T
mkdir -p .%{gemdir}
gem install --local --install-dir .%{gemdir} \
mkdir -p .%{gem_dir}
gem install --local --install-dir .%{gem_dir} \
--force %{SOURCE0}
%build
%install
mkdir -p %{buildroot}%{gemdir}
cp -a .%{gemdir}/* \
%{buildroot}%{gemdir}/
mkdir -p %{buildroot}%{gem_dir}
cp -a .%{gem_dir}/* \
%{buildroot}%{gem_dir}/
%check
pushd .%{geminstdir}
pushd .%{gem_instdir}
testrb test/ts_all.rb
popd
%files
%dir %{geminstdir}
%doc %{geminstdir}/LICENSE
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%dir %{gem_instdir}
%doc %{gem_instdir}/LICENSE
%{gem_libdir}
%{gem_cache}
%{gem_spec}
%files doc
%doc %{geminstdir}/CHANGES
%doc %{geminstdir}/README
%{geminstdir}/Rakefile
%{geminstdir}/test
%{gemdir}/doc/%{gemname}-%{version}
%doc %{gem_instdir}/CHANGES
%doc %{gem_instdir}/README
%{gem_instdir}/Rakefile
%{gem_instdir}/test
%{gem_docdir}
%changelog
* Thu Jan 19 2012 Vít Ondruch <vondruch@redhat.com> - 0.3.30-3
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.30-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save