-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn the user about a potential rename
In case of renames of files prepended by some directives such as %doc or %license, we cannot automatically detect the rename. The directive handles the installation of the file so removing the file makes rpmbuild or mock not complain but the file is not there if it was renamed. This can be common in case of renames such as README -> README.md. Warn the user that this is happening and that it may be necessary to check the specfile. Also refactor the method a bit, split it into smaller methods to decrease nesting blocks and improve readability. Signed-off-by: František Nečas <fnecas@redhat.com>
- Loading branch information
Showing
1 changed file
with
114 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters