/[packages]/cauldron/ruby/current/SPECS/ruby.spec
ViewVC logotype

Diff of /cauldron/ruby/current/SPECS/ruby.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 617249 by pterjan, Mon Mar 10 01:06:43 2014 UTC revision 617250 by pterjan, Mon Apr 21 17:23:16 2014 UTC
# Line 2  Line 2 
2  %define rubyapi 2.0.0  %define rubyapi 2.0.0
3  %define rubyver 2.0.0  %define rubyver 2.0.0
4  %define patchversion p451  %define patchversion p451
5  %define rel 1  %define rel 2
6    
7  %define libname %mklibname ruby %{subver}  %define libname %mklibname ruby %{subver}
8    
# Line 357  cp %{SOURCE3} %buildroot%{_sysconfdir}/r Line 357  cp %{SOURCE3} %buildroot%{_sysconfdir}/r
357  mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults  mkdir -p %{buildroot}%{rubygems_dir}/rubygems/defaults
358  cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults  cp %{SOURCE1} %{buildroot}%{rubygems_dir}/rubygems/defaults
359    
360    # Version is empty if --with-ruby-version is specified.
361    # http://bugs.ruby-lang.org/issues/7807
362    sed -i 's/Version: .*/Version: %{rubyver}/' %{buildroot}%{_libdir}/pkgconfig/%{name}.pc
363    
364  # drop gems if not wanted, so that we could split them out as seperated source rpm  # drop gems if not wanted, so that we could split them out as seperated source rpm
365  %if !%build_gems  %if !%build_gems
366  rm -f %{buildroot}%{_bindir}/{rake,rdoc,ri,testrb}  rm -f %{buildroot}%{_bindir}/{rake,rdoc,ri,testrb}

Legend:
Removed from v.617249  
changed lines
  Added in v.617250

  ViewVC Help
Powered by ViewVC 1.1.28