templates/python: don't strip required egg-info files out of files list

This commit is contained in:
Silvan Calarco 2017-11-15 15:13:58 +01:00
parent 93bcf6bb6b
commit b20b079907

View File

@ -38,7 +38,7 @@ CFLAGS="%{optflags}" %{__python} setup.py build
\ --install-lib=%{python_sitearch} \\
\ --record=%{name}.filelist
sed -i "\\,\\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)