Revision 8c92c02a
Added by specs-from-koji (Jenkins) over 10 years ago
rpms/fedora-18/rubygem-therubyracer/rubygem-therubyracer.spec | ||
---|---|---|
%global rubyabi 1.9.1
|
||
|
||
%global majorver 0.12.0
|
||
%global release 2
|
||
%global fullver %{majorver}
|
||
|
||
%{?preminorver:%global gem_instdir %{gem_dir}/gems/%{gem_name}-%{fullver}}
|
||
... | ... | |
Summary: Embed the V8 Javascript interpreter into Ruby
|
||
Name: %{?scl_prefix}rubygem-%{gem_name}
|
||
Version: 0.12.0
|
||
Release: %{?preminorver:0.}%{release}%{?preminorver:.%{preminorver}}%{?dist}
|
||
Release: 7%{?dist}
|
||
Group: Development/Languages
|
||
License: MIT
|
||
URL: http://github.com/cowboyd/therubyracer
|
||
Source0: http://rubygems.org/gems/%{gem_name}-%{version}%{?preminorver}.gem
|
||
Requires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
Requires: %{?scl_prefix}rubygem(ref)
|
||
Requires: %{?scl_prefix}rubygem(libv8)
|
||
Requires: %{?scl_prefix}ruby(rubygems)
|
||
Requires: %{?scl_prefix}ruby
|
||
Requires: %{?scl_prefix}v8
|
||
BuildRequires: %{?scl_prefix}ruby(abi) = %{rubyabi}
|
||
BuildRequires: %{?scl_prefix}rubygem(ref)
|
||
BuildRequires: %{?scl_prefix}rubygem(libv8)
|
||
BuildRequires: %{?scl_prefix}rubygem(rspec)
|
||
BuildRequires: %{?scl_prefix}rubygems-devel
|
||
BuildRequires: %{?scl_prefix}ruby-devel
|
||
BuildRequires: %{?scl_prefix}v8-devel
|
||
BuildRequires: %{?scl_prefix}rubygem(libv8)
|
||
# some specs run "ps aux"
|
||
BuildRequires: procps
|
||
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
||
... | ... | |
|
||
# remove shebang in non-executable file
|
||
sed -i '1d' %{buildroot}%{gem_instdir}/Rakefile
|
||
sed -i "s/gem.add_dependency 'libv8', '~> 3.16.14.0'//" %{buildroot}%{gem_spec}
|
||
|
||
%check
|
||
pushd .%{gem_instdir}
|
||
... | ... | |
%{gem_instdir}/therubyracer.gemspec
|
||
|
||
%changelog
|
||
* Fri Nov 01 2013 Lukas Zapletal <lzap+git@redhat.com> 0.12.0-7
|
||
- Removing libv8 removal patch, adding rubygem libv8 as a dep
|
||
|
||
* Fri Nov 01 2013 Lukas Zapletal <lzap+git@redhat.com> 0.12.0-6
|
||
- Removing rubygem-libv8 dependency (lzap+git@redhat.com)
|
||
|
||
* Fri Nov 01 2013 Lukas Zapletal <lzap+git@redhat.com>
|
||
- Removing rubygem-libv8 dependency (lzap+git@redhat.com)
|
||
|
||
* Fri Nov 01 2013 Lukas Zapletal <lzap+git@redhat.com> 0.12.0-4
|
||
- Bumping because of existing tag (lzap+git@redhat.com)
|
||
- Remove the libv8 gem after initial compilation so execjs - fix
|
||
(lzap+git@redhat.com)
|
||
|
||
* Thu Oct 31 2013 Sam Kottler <shk@redhat.com> 0.12.0-2
|
||
- new package built with tito
|
||
|
Also available in: Unified diff
Update rubygem-therubyracer to 0.12.0-7.fc18
- Removing libv8 removal patch, adding rubygem libv8 as a dep
- Removing rubygem-libv8 dependency (lzap+git@redhat.com)
- Removing rubygem-libv8 dependency (lzap+git@redhat.com)
- Bumping because of existing tag (lzap+git@redhat.com)
- Remove the libv8 gem after initial compilation so execjs - fix