commit: d240b5e69b87c1ab35bd714634eb47b78d98f8d8
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 12 18:20:04 2021 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Mar 12 19:32:21 2021 +0000
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=d240b5e6
ebuild-writing/functions/src_unpack/rpm-sources: update phase definition
We don't normally write 'phase_name ()', but instead 'phase_name()'.
Reflect that in our example.
Signed-off-by: Sam James <sam <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
ebuild-writing/functions/src_unpack/rpm-sources/text.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
index 4341944..ba78d4c 100644
--- a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
+++ b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml
@@ -24,7 +24,7 @@ manner such as:
</p>
<codesample lang="ebuild">
-src_unpack () {
+src_unpack() {
rpm_src_unpack ${A}
cd "${S}"
@@ -84,11 +84,11 @@ RESTRICT="mirror"
S=${WORKDIR}/fetchmail-$(ver_cut 1-3)
-src_unpack () {
+src_unpack() {
rpm_src_unpack ${A}
}
-src_prepare () {
+src_prepare() {
for i in "${WORKDIR}"/*.patch ; do
eapply "${i}"
done