doc: rediff-patches.py

Elan Ruusamäe glen at pld-linux.org
Wed Mar 10 15:17:49 CET 2021


On 10.03.2021 16:16, Elan Ruusamäe wrote:

> (arekm): document, or at least menton rediff-patches.py in wiki
>
> https://www.pld-linux.org/packages/rpm
>
also, make it universally usable elsewhere than "works for me":


[~/rpm/packages/eventum(3.9.11) (master)★] ➔ 
../rpm-build-tools/rediff-patches.py -v *.spec
Traceback (most recent call last):
   File 
"/home/users/glen/rpm/packages/eventum/../rpm-build-tools/rediff-patches.py", 
line 188, in <module>
     main()
   File 
"/home/users/glen/rpm/packages/eventum/../rpm-build-tools/rediff-patches.py", 
line 131, in main
     tempdir = tempfile.TemporaryDirectory(dir="/dev/shm")
   File "/usr/lib64/python3.9/tempfile.py", line 779, in __init__
     self.name = mkdtemp(suffix, prefix, dir)
   File "/usr/lib64/python3.9/tempfile.py", line 359, in mkdtemp
     _os.mkdir(file, 0o700)
FileNotFoundError: [Errno 2] No such file or directory: 
'/dev/shm/tmpwazv0l62'
[~/rpm/packages/eventum(3.9.11) (master)★] ➔



More information about the pld-devel-en mailing list