[Rpm-maint] [rpm-software-management/rpm] Supporting %patch -T option (#788)

Jun Aruga notifications at github.com
Thu Jul 11 14:38:50 UTC 2019

It seems `-Z` is better than `-T`.

$ man patch
       -T  or  --set-time
          Set  the modification and access times of patched files from time stamps given in
          context diff headers.  Unless specified in the time stamps, assume that the  con‐
          text diff headers use local time.

          Use  of this option with time stamps that do not include time zones is not recom‐
          mended, because patches using local time cannot easily be used by people in other
          time  zones,  and  because local time stamps are ambiguous when local clocks move
          backwards during daylight-saving time adjustments.  Make sure  that  time  stamps
          include  time  zones,  or  generate  patches with UTC and use the -Z or --set-utc
          option instead.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190711/05809e23/attachment.html>

More information about the Rpm-maint mailing list