[Fedora-packaging] Errors in Packaging:Python#Byte_Compiled_Files

Toshio Kuratomi a.badger at gmail.com
Sun Oct 25 14:20:34 UTC 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20091025/ea90671f/attachment.sig>


More information about the Fedora-packaging mailing list