remove ownership of /etc/profile.d - rpmlinter reports it as an error

This commit is contained in:
Zdenek Dohnal 2020-12-16 10:27:00 +01:00
parent eb227c8ca4
commit 0aa9eedd6a

View File

@ -747,7 +747,6 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
%files minimal
%dir %{_datadir}/fish/vendor_functions.d
%ghost %{_datadir}/fish/vendor_functions.d/vim.fish
%dir %{_sysconfdir}/profile.d
%ghost %config(noreplace) %{_sysconfdir}/profile.d/vim.*
%config(noreplace) %{_sysconfdir}/virc
%{_bindir}/ex
@ -765,7 +764,6 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
%files enhanced
%dir %{_datadir}/fish/vendor_functions.d
%ghost %{_datadir}/fish/vendor_functions.d/vim.fish
%dir %{_sysconfdir}/profile.d
%ghost %config(noreplace) %{_sysconfdir}/profile.d/vim.*
%{_bindir}/vim
%{_bindir}/rvim
@ -828,6 +826,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
%changelog
* Wed Dec 16 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.2143-2
- make profile files as ghosts to prevent further conflicts
- remove ownership of /etc/profile.d - rpmlinter reports it as an error
* Mon Dec 14 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.2143-1
- patchlevel 2143