rpm-4.6 and brp-python-bytecompile?

Panu Matilainen pmatilai at laiskiainen.org
Wed Apr 29 21:11:57 UTC 2009


On Wed, 29 Apr 2009, Carl D. Roth wrote:

> On Tue, 28 Apr 2009 11:36:20 -0400, Jeremy Katz wrote:
>
>> On Tuesday, April 28 2009, Carl D. Roth said:
>>> I noticed this wierdness with rpm-4.6 (f10) and rpm-4.7 (f11)...  When
>>> I build packages including Python scripts, sometimes the .pyc and .pyo
>>> files are included in the package manifest, and sometimes, they are
>>> not.
>> [snip]
>>> Why does the %__os_install_post macro vary in these examples?  It's a
>>> little frustrating, since a spec file that works outside of a mock
>>> chroot may not work inside, and vice-versa.
>>
>> Make sure you always have redhat-rpm-config installed
>>
>> Jeremy
>
> Since it appears to be necessary to build RPMs on a Fedora system, why
> isn't there a dependency chain between redhat-rpm-config and rpm-build?

redhat-rpm-config defines RH/Fedora build policy/configuration. Rpm itself 
doesn't give a damn where that configuration comes from and is fully 
functional without it. It's just that rpm upstream build "policy" doesn't 
match Fedora's.

 	- Panu -




More information about the fedora-devel-list mailing list