Bootstrap round.
This commit is contained in:
parent
f316675424
commit
0adc95b2cb
@ -1,25 +1,24 @@
|
|||||||
%global gem_name diff-lcs
|
%global gem_name diff-lcs
|
||||||
%global rubyabi 1.9.1
|
|
||||||
|
|
||||||
# %%check section needs rspec-expectations, however rspec-expectations depends
|
# %%check section needs rspec-expectations, however rspec-expectations depends
|
||||||
# on diff-lcs.
|
# on diff-lcs.
|
||||||
%{!?need_bootstrap: %global need_bootstrap 0}
|
%{!?need_bootstrap: %global need_bootstrap 1}
|
||||||
|
|
||||||
Summary: Provide a list of changes between two sequenced collections
|
Summary: Provide a list of changes between two sequenced collections
|
||||||
Name: rubygem-%{gem_name}
|
Name: rubygem-%{gem_name}
|
||||||
Version: 1.1.3
|
Version: 1.1.3
|
||||||
Release: 2%{?dist}
|
Release: 2.1%{?dist}
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
License: GPLv2+ or Ruby or Artistic
|
License: GPLv2+ or Ruby or Artistic
|
||||||
URL: http://rubyforge.org/projects/ruwiki/
|
URL: http://rubyforge.org/projects/ruwiki/
|
||||||
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
Source0: http://gems.rubyforge.org/gems/%{gem_name}-%{version}.gem
|
||||||
Requires: ruby(abi) = %{rubyabi}
|
Requires: ruby(release)
|
||||||
Requires: rubygems
|
Requires: rubygems
|
||||||
BuildRequires: rubygems-devel
|
BuildRequires: rubygems-devel
|
||||||
%if 0%{?need_bootstrap} < 1
|
%if 0%{?need_bootstrap} < 1
|
||||||
BuildRequires: rubygem(rspec)
|
BuildRequires: rubygem(rspec)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: ruby(abi) = %{rubyabi}
|
BuildRequires: ruby(release)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
Provides: rubygem(%{gem_name}) = %{version}
|
Provides: rubygem(%{gem_name}) = %{version}
|
||||||
|
|
||||||
@ -41,10 +40,7 @@ This package contains documentation for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -T
|
%setup -q -c -T
|
||||||
mkdir -p .%{gem_dir}
|
%gem_install -n %{SOURCE0}
|
||||||
gem install --local --install-dir .%{gem_dir} \
|
|
||||||
--bindir .%{_bindir} \
|
|
||||||
--force %{SOURCE0}
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -105,7 +101,8 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 1.1.3-2
|
* Wed Feb 20 2013 Vít Ondruch <vondruch@redhat.com> - 1.1.3-3
|
||||||
|
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
||||||
- Change the dependency to rubygem(rspec).
|
- Change the dependency to rubygem(rspec).
|
||||||
- Add bootstrap code.
|
- Add bootstrap code.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user