why not install -Dpm 0644 foo.py $RPM_BUILD_ROOT%{python_sitelib}/foo/foo.py just in one line. like: >> >> %install >> install -d $RPM_BUILD_ROOT%{python_sitelib}/foo >> install -pm 0644 foo.py $RPM_BUILD_ROOT%{python_sitelib}/foo/ >> ------------ Itamar Reis Peixoto e-mail/msn/google talk/sip: itamar@xxxxxxxxxxxxxxxx skype: itamarjp icq: 81053601 +55 11 4063 5033 +55 34 3221 8599 -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging