Re: Errors in Packaging:Python#Byte_Compiled_Files

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

 



On Sun, Oct 25, 2009 at 02:24:28PM +0200, Ville-Pekka Vainio wrote:
> Hi,
> 
> I'm adding a Python interface to a package of mine and was reading
> https://fedoraproject.org/wiki/Packaging:Python#Byte_Compiled_Files
> where it says:
> 
> %install
> install -d %{python_sitelib}/foo
> install -pm 0644 foo.py %{python_sitelib}/foo/
> 
> but you can't actually use %{python_sitelib} on it's own in %install.
> I think those instructions should be something like:
> 
> %install
> install -d $RPM_BUILD_ROOT%{python_sitelib}/foo
> install -pm 0644 foo.py $RPM_BUILD_ROOT%{python_sitelib}/foo/
> 
Fixed.  Thank you very much for reporting.

-Toshio

Attachment: pgpZbBr9Z4KFz.pgp
Description: PGP signature

--
Fedora-packaging mailing list
Fedora-packaging@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux