Rebuilt for Ruby 1.9.3.

epel9
Vít Ondruch 13 years ago
parent 9a4dde140f
commit f5786c599b

@ -1,21 +1,19 @@
%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname rb-inotify
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
%global gem_name rb-inotify
Summary: A Ruby wrapper for Linux's inotify, using FFI
Name: rubygem-%{gemname}
Name: rubygem-%{gem_name}
Version: 0.8.1
Release: 4%{?dist}
Release: 5%{?dist}
Group: Development/Languages
License: MIT
URL: http://github.com/nex3/rb-inotify
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
Requires: rubygems
Requires: ruby(abi) = 1.8
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
Requires: ruby(rubygems)
Requires: ruby(abi) = 1.9.1
Requires: rubygem(ffi)
BuildRequires: rubygems
BuildRequires: rubygems-devel
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}
Provides: rubygem(%{gem_name}) = %{version}
%description
A Ruby wrapper for Linux's inotify, using FFI
@ -27,30 +25,33 @@ A Ruby wrapper for Linux's inotify, using FFI
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
mkdir -p %{buildroot}%{gem_dir}
gem install --local --install-dir %{buildroot}%{gem_dir} \
--force --rdoc %{SOURCE0}
rm -f %{buildroot}/%{geminstdir}/.gitignore
rm -f %{buildroot}/%{geminstdir}/.yardopts
rm -f %{buildroot}/%{gem_instdir}/.gitignore
rm -f %{buildroot}/%{gem_instdir}/.yardopts
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%{geminstdir}/lib
%doc %{geminstdir}/Rakefile
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/README.md
%doc %{geminstdir}/MIT-LICENSE
%doc %{geminstdir}/VERSION
%doc %{geminstdir}/%{gemname}.gemspec
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
%dir %{gem_instdir}
%{gem_libdir}
%doc %{gem_instdir}/Rakefile
%doc %{gem_docdir}
%doc %{gem_instdir}/README.md
%doc %{gem_instdir}/MIT-LICENSE
%doc %{gem_instdir}/VERSION
%doc %{gem_instdir}/%{gem_name}.gemspec
%{gem_cache}
%{gem_spec}
%changelog
* Fri Feb 03 2012 Vít Ondruch <vondruch@redhat.com> - 0.8.1-5
- Rebuilt for Ruby 1.9.3.
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save