diff --git a/rubygem-sup.spec b/rubygem-sup.spec index 2858381..1f093e2 100644 --- a/rubygem-sup.spec +++ b/rubygem-sup.spec @@ -5,13 +5,13 @@ Summary: A console-based email client written in ruby Name: rubygem-%{gem_name} Version: 0.10.2 -Release: 10%{?dist} +Release: 11%{?dist} Group: Applications/Internet License: GPLv2+ URL: http://sup.rubyforge.org/ Source0: http://rubygems.org/downloads/%{gem_name}-%{version}.gem -Requires: ruby(abi) = 1.9.1 +Requires: ruby(release) Requires: ruby(rubygems) Requires: ruby(ncurses) Requires: xapian-bindings-ruby @@ -57,18 +57,16 @@ is to become the email client of choice for nerds everywhere. %prep +%setup -q -c -T +%gem_install -n %{SOURCE0} %build %install - mkdir -p %{buildroot}%{gem_dir} -gem install --local --install-dir %{buildroot}%{gem_dir} \ - --force --rdoc %{SOURCE0} - mkdir -p %{buildroot}/%{_bindir} -mv %{buildroot}%{gem_dir}/bin/* %{buildroot}/%{_bindir} -rmdir %{buildroot}%{gem_dir}/bin +mv .%{_bindir}/* %{buildroot}/%{_bindir} +mv .%{gem_dir}/* %{buildroot}/%{gem_dir} # Modifying gemspec to remove dependency on xapian-full and ncursesw @@ -105,6 +103,9 @@ popd %{gem_docdir} %changelog +* Mon Mar 18 2013 Bohuslav Kabrda - 0.10.2-11 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 + * Thu Feb 14 2013 Fedora Release Engineering - 0.10.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild