1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/tools/fedpkg/fix-paths.patch
2018-12-01 10:59:34 -05:00

17 lines
703 B
Diff

--- orig/setup.py
+++ new/setup.py
@@ -27,10 +27,10 @@
'bin/fedpkg',
'bin/fedpkg-stage',
],
- data_files=[(bash_completion_dir(), ['conf/bash-completion/fedpkg.bash']),
- ('/etc/rpkg', ['conf/etc/rpkg/fedpkg.conf',
+ data_files=[('share/bash-completion/completions', ['conf/bash-completion/fedpkg.bash']),
+ ('etc/rpkg', ['conf/etc/rpkg/fedpkg.conf',
'conf/etc/rpkg/fedpkg-stage.conf']),
- ('/usr/share/zsh/site-functions', ['conf/zsh-completion/_fedpkg']),
+ ('share/zsh/site-functions', ['conf/zsh-completion/_fedpkg']),
],
tests_require=['nose', 'mock'],