When listing a directory in %files it works both with and without a trailing slash:
%files
%files %{python3_sitelib}/foo
And:
%files %{python3_sitelib}/foo/
Both works the same (include the directory and everything in it), if %{python3_sitelib}/foo is a directory. The only notable differences are:
%{python3_sitelib}/foo
Given the benefit of this, I think we should recommend using the slash and we should make sure all our examples do so.
count me +1 on this, I hit this with egg-infos many times.
+1 - just hit this with egg-info as well
+1 also.
Absolutely, makes sense. So +1 from me as well.
+1
+1. I always try to do this. But... where would it go? Would you like me to work up a PR?
Metadata Update from @churchyard: - Issue assigned to churchyard
I will think about it and submit something next week.
Login to comment on this ticket.