<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>13933</bug_id>
          
          <creation_ts>2008-01-08 17:50:37 +0300</creation_ts>
          <short_desc>Предлагается добавить %rakeinstall_std</short_desc>
          <delta_ts>2008-01-10 18:07:10 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>rpm-build-ruby</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="majioa@altlinux.org">majioa</assigned_to>
          <cc>admsasha</cc>
    
    <cc>cas</cc>
    
    <cc>majioa</cc>
    
    <cc>mike</cc>
    
    <cc>nbr</cc>
    
    <cc>pav</cc>
    
    <cc>php-coder</cc>
    
    <cc>rider</cc>
    
    <cc>thatman</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>60613</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-08 17:50:38 +0300</bug_when>
    <thetext>По аналогии с %makeinstall_std, выполняющим
%make_install install DESTDIR=%buildroot (см. 
http://lists.altlinux.ru/pipermail/devel/2005-June/034599.html )

предлагается добавить %rakeinstall_std в виде
DESTDIR=%buildroot ruby -rvendor-specific %_bindir/rake install

Другим вариантом названия макроса может быть %rake_install (см. ruby_install, 
*_fonts_install), но тогда он начинает пересекаться с совершенно другими по 
назначению gconf2_install, pear_install).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60617</commentid>
    <comment_count>1</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2008-01-08 18:40:47 +0300</bug_when>
    <thetext>Мне тоже стало неудобно пользоваться некоторыми макросами.  Предлагаю собраться
и обсудить этот вопрос.

P.S. Виталий, просьба будет личного характера - не надо чтобы сизифные пакеты
имели зависимость на rubygems, это неправильно.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60622</commentid>
    <comment_count>2</comment_count>
    <who name="Sir Raorn">raorn</who>
    <bug_when>2008-01-08 20:13:55 +0300</bug_when>
    <thetext>%rake ruby -rvendor-specific %_bindir/rake
%rakeinstall DESTDIR=%buildroot %rake install

Плюс к ним меняются:

%_ruby_setup_rb setup.rb
%ruby_setup_rb %ruby_vendor -rvendor-specific %_ruby_setup_rb
%ruby_config %ruby_setup_rb config
%ruby_build %ruby_setup_rb setup
%ruby_install %ruby_setup_rb install --prefix=%buildroot

%ruby_build_std() \
%ruby_config %* \
%ruby_build \
%nil
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60625</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-08 20:29:19 +0300</bug_when>
    <thetext>rakeinstall сделан по аналогии makeinstall, который по сути своей - вредный 
хак, потому что с неизвестными последствиями подменяет prefix.
Повторюсь, мне виделся макрос rakeinstall_std, по аналогии с makeinstall_std,
но rake_install, как родственник ruby_install, тоже вполне ничего.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60660</commentid>
    <comment_count>4</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2008-01-08 23:16:55 +0300</bug_when>
    <thetext>Окончательное уточнение позиции: нужен rake_install,
rakeinstall_std - излишнее усложнение.
По-прежнему не нравится
%ruby_build, который делает %ruby_setup_rb setup, который делает что-то,
но уже начинаю привыкать.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60863</commentid>
    <comment_count>5</comment_count>
    <who name="Kirill A. Shutemov">kas</who>
    <bug_when>2008-01-10 18:07:10 +0300</bug_when>
    <thetext>Исправлено в git. Попадёт в ruby-1.8.6-alt3</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>