/[packages]/cauldron/ruby/pristine/SOURCES/ruby.macros
ViewVC logotype

Annotation of /cauldron/ruby/pristine/SOURCES/ruby.macros

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (hide annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (11 years, 3 months ago) by pterjan
Original Path: cauldron/ruby/current/SOURCES/ruby.macros
File size: 735 byte(s)
oops
1 blino 1152 # rpm macros for use in ruby packages
2    
3 fwang 292558 %ruby_version %(ruby -rrbconfig -e 'print RbConfig::CONFIG["ruby_version"]')
4 blino 1152
5 fwang 292558 %ruby_archdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["archdir"]')
6     %ruby_libdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["rubylibdir"]')
7     %ruby_sitearchdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["sitearchdir"]')
8     %ruby_sitelibdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["sitelibdir"]')
9     %ruby_vendorarchdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["vendorarchdir"]')
10     %ruby_vendorlibdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["vendorlibdir"]')
11     %ruby_gemdir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["rubygemsdir"]')
12     %ruby_ridir %(ruby -rrbconfig -e 'print RbConfig::CONFIG["ridir"]')

  ViewVC Help
Powered by ViewVC 1.1.30