Re: BuildRequires: redhat-rpm-config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 14 Nov 2013 08:56:22 +0000
"Richard W.M. Jones" <rjones@xxxxxxxxxx> wrote:

> 
> I had a bug filed that a Python package I'm maintaining cannot be
> rebuilt using 'rpmbuild --rebuild'.  The failure was that the *.pyc
> and *.pyo files are missing.
> 
> After a lot of head-scratching and debugging it turns out that
> brp-python-bytecompile was not running, and that happens because the
> RPM macro %{__os_install_post} didn't contain a call to
> brp-python-bytecompile.  This macro exists in base RPM, but is
> overridden/extended when redhat-rpm-config is installed.
> 
> Installing redhat-rpm-config fixes the problem for the bug reporter.
> 
> However this raises some questions:
> 
>  - Should this package explicitly BR redhat-rpm-config?
> 
>  - Should all Python packages explicitly BuildRequire
> redhat-rpm-config?
> 
>  - Should this package not be packaging up the *.py[co] files?
> 
>  - Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
> 
>  - Should I just ignore this because it builds fine in Koji?

I think ignoring is fine, we should rather recommend to do "yum install
@buildsys-build" before starting to work on Fedora packages


		Dan
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux