Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8aa526a85a | ||
|
|
a2ce518c9f | ||
|
|
fd5b842d98 | ||
|
|
fbc89eb6ba |
3 changed files with 22 additions and 9 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1 +1,3 @@
|
||||||
flexmock-0.8.7.gem
|
flexmock-0.8.7.gem
|
||||||
|
/flexmock-0.8.11.gem
|
||||||
|
/flexmock-0.9.0.gem
|
||||||
|
|
|
||||||
|
|
@ -5,22 +5,25 @@
|
||||||
%global gemname flexmock
|
%global gemname flexmock
|
||||||
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}
|
||||||
|
|
||||||
|
# Note
|
||||||
|
# 0.8.11 seems to work only with ruby 1.8.7+
|
||||||
|
# (test fails with 1.8.6.x (i.e. F-13))
|
||||||
|
|
||||||
Summary: Mock object library for ruby
|
Summary: Mock object library for ruby
|
||||||
Name: rubygem-%{gemname}
|
Name: rubygem-%{gemname}
|
||||||
Version: 0.8.7
|
Version: 0.9.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: Copyright only
|
License: Copyright only
|
||||||
URL: http://flexmock.rubyforge.org
|
URL: http://flexmock.rubyforge.org
|
||||||
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
BuildRequires: ruby(abi) = %{rubyabi}
|
||||||
BuildRequires: ruby(rubygems)
|
BuildRequires: ruby(rubygems)
|
||||||
BuildRequires(check): rubygem(rake)
|
BuildRequires: rubygem(rake)
|
||||||
Requires: ruby(abi) = %{rubyabi}
|
Requires: ruby(abi) = %{rubyabi}
|
||||||
Requires: ruby(rubygems)
|
Requires: ruby(rubygems)
|
||||||
Provides: ruby(%{gemname}) = %{name}-%{version}
|
Provides: rubygem(%{gemname}) = %{version}-%{release}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
@ -60,7 +63,6 @@ find . -name \*.gem -or -name \*.rb -or -name \*.rdoc | xargs chmod 0644
|
||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf %{buildroot}
|
|
||||||
mkdir -p %{buildroot}%{gemdir}
|
mkdir -p %{buildroot}%{gemdir}
|
||||||
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
|
cp -a .%{gemdir}/* %{buildroot}%{gemdir}/
|
||||||
|
|
||||||
|
|
@ -123,9 +125,6 @@ popd
|
||||||
|
|
||||||
create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
|
create_symlink_rec %{geminstdir}/lib %{ruby_sitelib}
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf %{buildroot}
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
pushd .%{geminstdir}
|
pushd .%{geminstdir}
|
||||||
rake test_all --trace
|
rake test_all --trace
|
||||||
|
|
@ -154,6 +153,18 @@ rake test_all --trace
|
||||||
%{ruby_sitelib}/%{gemname}/
|
%{ruby_sitelib}/%{gemname}/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 28 2011 Mamoru Tasaka <mtasaka@fedoraproject.org> - 0.9.0-1
|
||||||
|
- 0.9.0
|
||||||
|
|
||||||
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.11-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Feb 2 2011 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.11-2
|
||||||
|
- Fix typo Provides on main package (bug 674413)
|
||||||
|
|
||||||
|
* Sun Oct 17 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.11-1
|
||||||
|
- 0.8.11
|
||||||
|
|
||||||
* Fri Jul 23 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.7-1
|
* Fri Jul 23 2010 Mamoru Tasaka <mtasaka@ioa.s.u-tokyo.ac.jp> - 0.8.7-1
|
||||||
- 0.8.7
|
- 0.8.7
|
||||||
|
|
||||||
|
|
|
||||||
2
sources
2
sources
|
|
@ -1 +1 @@
|
||||||
1fa75d05558c2daa98c99d1cd27fd563 flexmock-0.8.7.gem
|
aa2dcce220002cedd08001e5bad0961b flexmock-0.9.0.gem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue