[Fedora-packaging] python module not installed

"Germán A. Racca" german.racca at gmail.com
Wed Mar 12 23:52:25 UTC 2014


On 03/12/2014 07:45 PM, Toshio Kuratomi wrote:
> On Wed, Mar 12, 2014 at 05:23:17PM -0300, "Germán A. Racca" wrote:
>> Hi list,
>>
>> I'm updating a python package and I have the following issue. As
>> per Fedora packaging guidelines, we should use:
>>
>> %build
>> %{__python2} setup.py build
>>
>> %install
>> %{__python2} setup.py install -O1 --skip-build --root %{buildroot}
>>
>> which is fine to me. But with this new version of my package, the
>> module doesn't get copied if --skip-build is present (it only
>> copies the egg):
>>
>> running install
>> running install_lib
>> warning: install_lib: 'build/lib' does not exist -- no Python modules
>> to install
>> ...
>>
>> What should I do? If I remove --skip-build, it works fine, but I'm not
>> sure if I can do that in the spec file.
>>
> Where's the srpm at?  I'll take a look.
>
> -Toshio

Hi Toshio,

I didn't build the srpm yet, but this is the spec file so far:

http://paste.fedoraproject.org/84109/44860051/

Germán.

-- 
Germán A. Racca
Fedora Package Maintainer
https://fedoraproject.org/wiki/User:Skytux


More information about the packaging mailing list