Skip to content

Commit

Permalink
Code review cleanup: standard changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Young committed May 11, 2010
1 parent ade6668 commit 0cdf758
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions rubygem-webmock.spec
Expand Up @@ -7,9 +7,9 @@
Summary: Library for stubbing HTTP requests in Ruby
Name: rubygem-%{gemname}
Version: 0.9.1
Release: 1%{?dist}
Release: 2%{?dist}
Group: Development/Languages
License: GPLv2+
License: MIT
URL: http://github.com/bblimke/webmock
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Expand Down Expand Up @@ -37,19 +37,31 @@ mkdir -p %{buildroot}%{gemdir}
gem install --local --install-dir %{buildroot}%{gemdir} \
--force --rdoc %{SOURCE0}

mkdir -p %{buildroot}/usr/share/doc/%{gemdir}-%{version}
for DOC in LICENSE README.md
do mv %{buildroot}%{geminstdir}/$DOC %{buildroot}/usr/share/doc/%{gemdir}-%{version}
done



%clean
rm -rf %{buildroot}

%files
%defattr(-, root, root, -)
%{gemdir}/gems/%{gemname}-%{version}/
%doc %{gemdir}/doc/%{gemname}-%{version}
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/README.md
%doc /usr/share/doc/%{gemdir}-%{version}
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec


%changelog
* Tue May 11 2010 Adam Young <ayoung@ayoung.boston.devel.redhat.com> - 0.9.1-2
- Corrected license
- removed duplicate files entries
- shortened summary
- added ABI dependency

* Wed Mar 31 2010 Adam Young <ayoung@ayoung.boston.devel.redhat.com> - 0.9.1-1
- Initial package

0 comments on commit 0cdf758

Please sign in to comment.