[prev in list] [next in list] [prev in thread] [next in thread]
List: et-mgmt-tools
Subject: Re: [et-mgmt-tools] koan patch to use __python
From: Michael DeHaan <mdehaan () redhat ! com>
Date: 2006-10-18 22:30:37
Message-ID: 4536AB0D.5000605 () redhat ! com
[Download RAW message or body]
Tru Huynh wrote:
> Hi,
>
> same request on koan.spec (%{__python} instead of python)
>
> [tru@casewell koan]$ hg diff koan.spec
> diff -r 85dbf26fe42a koan.spec
> --- a/koan.spec Tue Oct 17 11:42:11 2006 -0400
> +++ b/koan.spec Wed Oct 18 23:47:17 2006 +0200
> @@ -26,14 +26,14 @@ any existing system. For use with a boo
> %setup -q
>
> %build
> -python setup.py build
> +%{__python} setup.py build
>
> %install
> -rm -rf $RPM_BUILD_ROOT
> -python setup.py install --optimize=1 --root=$RPM_BUILD_ROOT
> +test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
> +%{__python} setup.py install --optimize=1 --root=$RPM_BUILD_ROOT
>
> %clean
> -rm -rf $RPM_BUILD_ROOT
> +test "x$RPM_BUILD_ROOT" != "x" && rm -rf $RPM_BUILD_ROOT
>
> %files
> %defattr(-,root,root)
>
> Cheers,
>
> Tru
>
applied, thanks!
--Michael
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic