/[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 1140286 by pterjan, Mon Aug 14 15:22:59 2017 UTC revision 1140334 by pterjan, Mon Aug 14 18:09:18 2017 UTC
# Line 23  Line 23 
23  %endif  %endif
24    
25    
26  %define rel 2  %define rel 3
27  %{!?release_string:%global release_string %mkrel %{?development_release:0.}%{rel}%{?development_release:.%{development_release}}}  %{!?release_string:%global release_string %mkrel %{?development_release:0.}%{rel}%{?development_release:.%{development_release}}}
28    
29  # The RubyGems library has to stay out of Ruby directory three, since the  # The RubyGems library has to stay out of Ruby directory three, since the
# Line 87  Line 87 
87  # RubyGems should be shared by all Ruby implementations.  # RubyGems should be shared by all Ruby implementations.
88  %define gem_dir %{_datadir}/gems  %define gem_dir %{_datadir}/gems
89    
 %define bootstrap 1  
 %define build_gems 1  
   
90  Summary:        Object Oriented Script Language  Summary:        Object Oriented Script Language
91  Name:           ruby  Name:           ruby
92  Version:        %{rubyver}  Version:        %{rubyver}
# Line 123  Provides: ruby(abi) = %subver Line 120  Provides: ruby(abi) = %subver
120  Source0:        http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}.tar.xz  Source0:        http://ftp.ruby-lang.org/pub/ruby/%{subver}/ruby-%{rubyver}.tar.xz
121  Source1:        operating_system.rb  Source1:        operating_system.rb
122  Source3:        ruby.macros  Source3:        ruby.macros
123    Source4:        rubygems.macros
124  # From FC:  # From FC:
125  # RPM dependency generators.  # RPM dependency generators.
126  Source8: rubygems.attr  Source8: rubygems.attr
127  Source9: rubygems.req  Source9: rubygems.req
128  Source10: rubygems.prov  Source10: rubygems.prov
129  URL:            http://ruby-lang.org/  URL:            http://ruby-lang.org/
 %if !%bootstrap  
 BuildRequires:  ruby  
 %endif  
 %if !%bootstrap || %build_gems  
 Requires:       rubygems >= %{rubygems_version}  
 %endif  
130    
131  # == FEDORA PATCHES BEGINS ==  # == FEDORA PATCHES BEGINS ==
132  # Fix ruby_version abuse.  # Fix ruby_version abuse.
# Line 496  EOF Line 488  EOF
488  # Install the rpm macros  # Install the rpm macros
489  mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d  mkdir -p %buildroot%{_sysconfdir}/rpm/macros.d
490  cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d  cp %{SOURCE3} %buildroot%{_sysconfdir}/rpm/macros.d
491    cp %{SOURCE4} %buildroot%{_sysconfdir}/rpm/macros.d
492    
493  # Install dependency generators.  # Install dependency generators.
494  mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs  mkdir -p %{buildroot}%{_rpmconfigdir}/fileattrs

Legend:
Removed from v.1140286  
changed lines
  Added in v.1140334

  ViewVC Help
Powered by ViewVC 1.1.30