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

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

    <bug>
          <bug_id>24229</bug_id>
          
          <creation_ts>2010-10-06 00:00:32 +0400</creation_ts>
          <short_desc>FR: добавить rpm-макросы</short_desc>
          <delta_ts>2012-06-23 21:18:51 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>cmake</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>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Shabalin">shaba</reporter>
          <assigned_to name="Slava Dubrovskiy">dubrsl</assigned_to>
          <cc>lav</cc>
    
    <cc>mike</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113176</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2010-10-06 00:00:32 +0400</bug_when>
    <thetext>В макросе %cmake делается
mkdir -p BUILD
pushd BUILD
cmake ...
popd

Прошу сделать макросы, типа
%cmake_build и %cmake_install в которых будут делаться 
pushd BUILD
make ...
popd

Сейчас приходится вставлять это вручную.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>129426</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2012-03-04 21:48:42 +0400</bug_when>
    <thetext>Скорее примерно так (намеренно не делал popd, чтоб было можно передать дополнительные аргументы -- кстати, в %cmake_insource насильное завершение команды точкой с запятой сильно мешает):

%cmake_build \
    %make_build -C BUILD

%cmakeinstall_std \
    %makeinstall_std -C BUILD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132037</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2012-06-23 21:18:51 +0400</bug_when>
    <thetext>cmake-2.8.8-alt1 -&gt; sisyphus:

* Sat Jun 23 2012 Slava Dubrovskiy &lt;dubrsl@altlinux&gt; 2.8.8-alt1
- 2.8.8
- add %cmake_build, %cmake_install and %cmakeinstall_std macros (closes: #24229)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>