templates/python: don't put egg-info files in files.list because they need to be in %files section for rpm pythondistdeps.sh to add auto dependencies

This commit is contained in:
Silvan Calarco 2021-03-16 21:36:45 +01:00
parent f89da44c7b
commit 6d8566067b

View File

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