diff --git a/bash-git-prompt.spec b/bash-git-prompt.spec index 9c50f3c..71efbde 100644 --- a/bash-git-prompt.spec +++ b/bash-git-prompt.spec @@ -27,12 +27,12 @@ install. It will disable the prompt accordingly after uninstall. # These comments are here to avoid rpm lint issue %install -install -d 755 %{buildroot}%{_datadir}/%{name} +install -dm 755 %{buildroot}%{_datadir}/%{name} install -pm 755 *.sh %{buildroot}%{_datadir}/%{name} #install -pm 755 *.py %{buildroot}%{_datadir}/%{name} install -pm 755 *.fish %{buildroot}%{_datadir}/%{name} install -pm 644 README.md %{buildroot}%{_datadir}/%{name} -install -d 755 %{buildroot}%{_datadir}/%{name}/themes +install -dm 755 %{buildroot}%{_datadir}/%{name}/themes install -pm 644 themes/*.bgptheme %{buildroot}%{_datadir}/%{name}/themes install -pm 644 themes/*.bgptemplate %{buildroot}%{_datadir}/%{name}/themes