[packagekit] Spec file patch to go with recent python changes

Robin Norwood rnorwood at redhat.com
Mon Sep 24 14:40:11 PDT 2007


Robin Norwood <rnorwood at redhat.com> writes:

> Tim Lauridsen <tla at rasmil.dk> writes:
>
>> Robin Norwood wrote:
>>> Hi,
>>>
>>> Here's a patch to the spec file for Fedora that puts the PackageKit()
>>> python classes in python's site-packages directory.
>>>
>>> -RN
>>>
>>>   
>> Looks good, but the python naming says that modules should be i lowercase.
>> http://www.python.org/dev/peps/pep-0008/
>>
>> Package and Module Names
>>
>>       Modules should have short, all-lowercase names.  Underscores can be used
>>       in the module name if it improves readability.  Python packages should
>>       also have short, all-lowercase names, although the use of underscores is
>>       discouraged.
>
> Ok - glancing at the site-packages dir on my box led me to think there
> was no standard. :-)  I'll fix it.

Ok, fixed.  This patch to the spec file for Fedora will be needed as
well:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PackageKit-new-python-sitelib.patch
Type: text/x-patch
Size: 410 bytes
Desc: change PackageKit to packagekit
URL: <http://lists.freedesktop.org/archives/packagekit/attachments/20070924/4a656911/attachment-0004.bin>
-------------- next part --------------

-RN

-- 
Robin Norwood
Red Hat, Inc.

"The Sage does nothing, yet nothing remains undone."
-Lao Tzu, Te Tao Ching


More information about the PackageKit mailing list