[prev in list] [next in list] [prev in thread] [next in thread]
List: opensuse-packaging
Subject: Re: [opensuse-packaging] How to fix python-bytecode-inconsistent-mtime rpmlint warning?
From: Marguerite Su <i () marguerite ! su>
Date: 2012-03-15 8:52:56
Message-ID: CAK0PdAkKpB_YvwrW76sh+TLRiNjiJB3GmxAs-DAK3XQp0oCZEQ () mail ! gmail ! com
[Download RAW message or body]
On Thu, Mar 15, 2012 at 4:01 PM, Kyrill Detinov <lazy.kent@opensuse.org> wr=
ote:
>
> On Thu, 15 Mar 2012 15:24:14 +0800 Marguerite Su wrote:
>
>> # Fix python-bytecode-inconsistent-mtime
>> pushd %{buildroot}%{python_sitearch}
>> %py_compile
>> popd
>>
>> returns:
>>
>> +
>> pushd /home/abuild/rpmbuild/BUILDROOT/hotot-0.9.7.45-1.x86_64/usr/lib64/=
python2.7/site-packages/
>> ~/rpmbuild/BUILDROOT/hotot-0.9.7.45-1.x86_64/usr/lib64/python2.7/site-pa=
ckages
>> ~/rpmbuild/BUILD/hotot-0.9.7.45
>> + find %1 -name '*.pyc' -exec rm -f '{}' ';'
>> find: `%1': No such file or directory
>
> You forgot to add dot as current directory:
> %py_compile .
>
>
> --
> WBR
> =C2=A0Kyrill
> --
> To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
> To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
>
Thanks, Kyrill, I got it run successfully.
marguerite
--
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic