On Mon, 3 Oct 2016 11:06:46 -0700 Rick Stevens <[email protected]> wrote:
>
> Looking at that, I'm wondering if your line 31 in the "%install"
> section should read:
>
> /bin/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot}
>
> As it is now, it's depending on a relative path that gets expanded to
> /bin/python3, but if it's in a chroot (and I can't recall if rpm does
> a chroot to a working directory) then the chroot probably WON'T have
> a /bin/python3 in it. A literal leading slash overrides that, I think.
You are correct -- the right way of putting this in should have been:
%{__python3} setup.py install --prefix=%{_prefix} --root=%{buildroot}
Here is the current (corrected) version of battray.spec for the records, where
the rpm installs.
$ fpaste battray.spec
Uploading (1.6KiB)...
http://paste.fedoraproject.org/442710/55191481/ ->
https://paste.fedoraproject.org/442710/55191481
The tar.gz does not come with an explicit license file. I have asked upstream
to put this in, and after that, I will submit to Fedora.
Thanks again to you and to Stan for all your help!! It is much appreciated.
Best wishes,
Ranjan
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]