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/
--
Ville-Pekka Vainio