packit / dist-git-to-source-git

Converting dist-git to source-git
MIT License
4 stars 9 forks source link

Patching fails in gnome-shell-extensions #167

Closed sentry-io[bot] closed 3 years ago

sentry-io[bot] commented 3 years ago

Applying add-extra-extensions.patch fails to be applied on po/es.po since 690341c.

Sentry Issue: DIST2SRC-UPDATE-1W

sentry-io[bot] commented 3 years ago

Sentry issue: DIST2SRC-UPDATE-9

TomasTomecek commented 3 years ago

There indeed seems to be a problem with the patch:

+ /usr/bin/cat /workdir/rpms/gnome-shell-extensions/SOURCES/add-extra-extensions.patch
+ /usr/bin/git apply --index -                                                                                                                                                                
<stdin>:12791: trailing whitespace.                                                            

<stdin>:12793: trailing whitespace.                                                                                                                                                           

<stdin>:12796: trailing whitespace.                                                                                                                                                           

<stdin>:12809: trailing whitespace.                                                                                                                                                           

<stdin>:14976: trailing whitespace.                                                            
  "extension-id": "@extension_id@", 
warning: squelched 5 whitespace errors
warning: 10 lines add whitespace errors.

I was able to execute %prep successfully after changing the recent crlf change:

~     safecrlf = true                                                                                                                                                                     
+     # autocrlf = input