On Friday 2021-08-20 12:31, Hans-Peter Jansen wrote:
Am Donnerstag, 19. August 2021, 12:32:20 CEST schrieb Jan Engelhardt:
On Thursday 2021-08-19 12:28, Stephan Kulow wrote:
If you install spec-cleaner-format_spec_file, format_spec_file is replaced by spec-cleaner's minimal mode. If you didn't, it's still the default format_spec_file - which doesn't care for spec cleaner comments.
But format_spec_file is not nearly as "destructive" as spec-cleaner.
Jan, format_spec_file simply runs:
/usr/bin/spec-cleaner -m -f "$i" -i
My format_spec_file calls prepare_spec (this is obs-service_format_spec_file): if /usr/lib/obs/service/format_spec_file.files/prepare_spec "$i" > "$MYOUTDIR/$i.$$"; then # remove all file files which are indendical to committed files And prepare_spec isn't as destructive.