From Fedora Project Wiki
Add / to end of directories
Can someone please add a trailing slash to %dir
content so that it's more clear we're talking about directories? For example
%dir %{_libdir}/foo-2/fu %dir %{_libdir}/foo-2/bar %{_libdir}/foo-2/fu/*.so %{_libdir}/foo-2/bar/config*
would read better as
%dir %{_libdir}/foo-2/fu'''/''' %dir %{_libdir}/foo-2/bar'''/''' %{_libdir}/foo-2/fu/*.so %{_libdir}/foo-2/bar/config*