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"]') |