From 6d8566067b9dd8378ace5db1d67fd2c6d1d5c9d4 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 16 Mar 2021 21:36:45 +0100 Subject: [PATCH] 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 --- templates/python | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/python b/templates/python index b060afd..5aca918 100644 --- a/templates/python +++ b/templates/python @@ -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)