Summary: Rspec-2 runner and formatters
Summary(pl.UTF-8): Kod uruchomieniowy i formatujący dla Rspec-2
Name: ruby-%{pkgname}
-Version: 2.14.8
+Version: 3.7.1
Release: 1
License: MIT
Group: Development/Languages
Source0: http://rubygems.org/gems/%{pkgname}-%{version}.gem
-# Source0-md5: 70fbddcf0ab469b332a028ccc6565a33
+# Source0-md5: c51cf2be9f07c40c8a51856ef046a067
URL: http://github.com/rspec/rspec-mocks
BuildRequires: rpm-rubyprov
BuildRequires: rpmbuild(macros) >= 1.656
%setup -q -n %{pkgname}-%{version}
# rpmlint
-grep -rl '^#![ \t]*%{_bindir}' ./lib| \
+grep -rl '^#![ \t]*%{_bindir}' ./exe | \
xargs sed -i -e '\@^#![ \t]*/usr/bin@d'
%build
cp -a exe/* $RPM_BUILD_ROOT%{_bindir}
cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
-# Rename autospec to avoid conflict with rspec 1.3
-# (anyway this script doesn't seem to be useful)
-%{__mv} $RPM_BUILD_ROOT%{_bindir}/autospec{,2}
-
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md Changelog.md License.txt
-%attr(755,root,root) %{_bindir}/autospec2
+%doc README.md Changelog.md LICENSE.md
%attr(755,root,root) %{_bindir}/rspec
-%dir %{ruby_vendorlibdir}/autotest
-%{ruby_vendorlibdir}/autotest/discover.rb
-%{ruby_vendorlibdir}/autotest/rspec2.rb
%dir %{ruby_vendorlibdir}/rspec
%{ruby_vendorlibdir}/rspec/autorun.rb
%{ruby_vendorlibdir}/rspec/core.rb