depot/third_party/nixpkgs/pkgs/development/tools/fedpkg/fix-paths.patch
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

16 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'],