Diff glusterfs-11.0-r1 with a glusterfs-11.0-r2
/usr/portage/sys-cluster/glusterfs/glusterfs-11.0-r2.ebuild 2023-10-09 14:52:35.456368501 +0300 | ||
---|---|---|
26 | 26 | |
27 | 27 |
PATCHES=( |
28 | 28 |
"${FILESDIR}/${PN}-11.0-fix-crash.patch" |
29 |
"${FILESDIR}/${PN}-11.0-extras-defer-invoking-of-gluster-volume-set-help-as-.patch" |
|
29 | 30 |
) |
30 | 31 | |
31 | 32 |
# sys-apps/util-linux is required for libuuid |
... | ... | |
70 | 71 |
virtual/pkgconfig |
71 | 72 |
" |
72 | 73 | |
73 |
SITEFILE="50${PN}-mode-gentoo.el" |
|
74 | ||
75 | 74 |
DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) |
76 | 75 | |
77 | 76 |
# Maintainer notes: |
... | ... | |
130 | 129 |
default |
131 | 130 | |
132 | 131 |
# Path changes based on whether app-shells/bash-completion is installed, bug #911523 |
133 |
rm -rf "${ED}"/etc/bash_completion.d || die |
|
134 |
newbashcomp extras/command-completion/gluster.bash ${PN} |
|
132 |
rm -rf "${ED}"/etc/bash_completion.d "${D}$(get_bashcompdir)" || die |
|
133 |
newbashcomp extras/command-completion/gluster.bash gluster |
|
135 | 134 | |
136 | 135 |
rm \ |
137 | 136 |
"${ED}"/etc/glusterfs/glusterfs-{georep-,}logrotate \ |
... | ... | |
148 | 147 | |
149 | 148 |
if use emacs ; then |
150 | 149 |
elisp-install ${PN} extras/glusterfs-mode.el* |
151 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" |
|
150 |
elisp-site-file-install "${FILESDIR}/50glusterfs-mode-gentoo.el" |
|
152 | 151 |
fi |
153 | 152 | |
154 | 153 |
insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}"/${PN}.vim |
... | ... | |
180 | 179 |
find "${D}" -type f -name '*.la' -delete || die |
181 | 180 |
fi |
182 | 181 | |
183 |
python_optimize "${ED}" |
|
182 |
python_fix_shebang "${ED}" |
|
183 |
python_optimize |
|
184 | 184 |
} |
185 | 185 | |
186 | 186 |
pkg_postinst() { |