]> git.pld-linux.org Git - packages/pyp2rpm.git/blob - default-savepath.patch
- build with python 3
[packages/pyp2rpm.git] / default-savepath.patch
1 diff -urNp -x '*.orig' pyp2rpm-3.3.2.org/pyp2rpm/utils.py pyp2rpm-3.3.2/pyp2rpm/utils.py
2 --- pyp2rpm-3.3.2.org/pyp2rpm/utils.py  2018-03-21 14:54:40.000000000 +0100
3 +++ pyp2rpm-3.3.2/pyp2rpm/utils.py      2021-03-06 21:01:41.346267537 +0100
4 @@ -163,7 +163,6 @@ def get_default_save_path():
5      else:
6          save_path = rpm_eval(macro)
7          if not save_path:
8 -            logger.warn("rpm tools are missing, using default save path "
9 -                        "~/rpmbuild/.")
10 -            save_path = os.path.expanduser('~/rpmbuild')
11 +            logger.warn("rpm tools are missing, using current dir as save path.")
12 +            save_path = os.path.expanduser('.')
13      return save_path
This page took 0.061563 seconds and 3 git commands to generate.