Przemek Klosowski wrote (quoting from redhat-rpm-config):
> >pyo="$(echo $pyc | sed -e 's/.pyc$/.pyo/')"
This should say:
pyo="$(echo $pyc | sed -e 's/\.pyc$/.pyo/')"
Note the added backslash.
Kevin Kofler
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedora
On 11/15/2013 05:25 AM, Ralf Corsepius wrote:
On 11/14/2013 06:13 PM, Panu Matilainen wrote:
On 11/14/2013 05:45 PM, Adam Jackson wrote:
On Thu, 2013-11-14 at 08:56 +, Richard W.M. Jones wrote:
- Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
Yes. People hit this _constantly_
On 11/14/2013 06:13 PM, Panu Matilainen wrote:
On 11/14/2013 05:45 PM, Adam Jackson wrote:
On Thu, 2013-11-14 at 08:56 +, Richard W.M. Jones wrote:
- Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
Yes. People hit this _constantly_ in a lot of ways. Like "why am I not
getting d
On Thu, 2013-11-14 at 08:12 -0800, Toshio Kuratomi wrote:
> If there's nothing else in python_sitelib besides this module, you can
> change the glob there:
>
> %{python_sitearch}/*
> %{python_sitelib}/*
Or:
%{python_sitearch}/*.py*
%{python_sitelib}/*.py*
Just to be sure not to include
On 11/14/2013 03:56 AM, Richard W.M. Jones 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-bytecompi
On Thu, 2013-11-14 at 19:13 +0200, Panu Matilainen wrote:
> On 11/14/2013 05:45 PM, Adam Jackson wrote:
> > On Thu, 2013-11-14 at 08:56 +, Richard W.M. Jones wrote:
> >
> >> - Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
> >
> > Yes. People hit this _constantly_ in a lot of ways. L
On 11/14/2013 05:45 PM, Adam Jackson wrote:
On Thu, 2013-11-14 at 08:56 +, Richard W.M. Jones wrote:
- Is this a bug in redhat-rpm-config/Python/RPM/Fedora?
Yes. People hit this _constantly_ in a lot of ways. Like "why am I not
getting debuginfo packages". The theory is that you migh
On Thu, 14 Nov 2013, Adam Jackson wrote:
Yes. People hit this _constantly_ in a lot of ways. Like "why am I not
getting debuginfo packages". The theory is that you might want to build
with some other set of macros, which is why rpmbuild doesn't just
require r-r-c.
I think this is foolish, an
On Thu, Nov 14, 2013 at 02:18:05PM +, Richard W.M. Jones wrote:
> On Thu, Nov 14, 2013 at 05:36:34PM +0800, Mathieu Bridon wrote:
> > For example, if right now you have:
> >
> > %dir %{python_sitelib}/mymodule
> > %{python_sitelib}/mymodule/*.py
> > %{python_sitelib}/mymodule/*.pyc
On Thu, 2013-11-14 at 08:56 +, Richard W.M. Jones 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
>
On Thu, Nov 14, 2013 at 05:36:34PM +0800, Mathieu Bridon wrote:
> For example, if right now you have:
>
> %dir %{python_sitelib}/mymodule
> %{python_sitelib}/mymodule/*.py
> %{python_sitelib}/mymodule/*.pyc
> %{python_sitelib}/mymodule/*.pyo
>
> You could replace that by:
>
>
On Thu, 2013-11-14 at 10:27 +0100, Dan Horák wrote:
> On Thu, 14 Nov 2013 08:56:22 +
> "Richard W.M. Jones" wrote:
> > However this raises some questions:
> >
> > - Should this package explicitly BR redhat-rpm-config?
> >
> > - Should all Python packages explicitly BuildRequire
> > redhat-
On Thu, 14 Nov 2013 08:56:22 +
"Richard W.M. Jones" 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
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
RP
14 matches
Mail list logo