From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0ECEF158083 for ; Sat, 14 Sep 2024 19:11:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96956E29A6; Sat, 14 Sep 2024 19:11:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D9A3E29A6 for ; Sat, 14 Sep 2024 19:11:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 804583409C8 for ; Sat, 14 Sep 2024 19:11:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 847F31F40 for ; Sat, 14 Sep 2024 19:11:54 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1726341058.a166928ab188ff3b108d9a2651217dd96828b282.ulm@gentoo> Subject: [gentoo-commits] proj/devmanual:master commit in: ebuild-writing/functions/src_unpack/rpm-sources/ X-VCS-Repository: proj/devmanual X-VCS-Files: ebuild-writing/functions/src_unpack/rpm-sources/text.xml X-VCS-Directories: ebuild-writing/functions/src_unpack/rpm-sources/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: a166928ab188ff3b108d9a2651217dd96828b282 X-VCS-Branch: master Date: Sat, 14 Sep 2024 19:11:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 423590d1-5c97-4dbf-8068-ea5dfc63b793 X-Archives-Hash: 5a31c3ed1b64ecf3573b73949318e9f3 commit: a166928ab188ff3b108d9a2651217dd96828b282 Author: Sebastian Engel gmx de> AuthorDate: Wed Aug 28 11:13:20 2024 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Sep 14 19:10:58 2024 +0000 URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=a166928a src_unpack/rpm-sources: Replace src_unpack override example code This replaces the code example with a snippet of how it is currently used in ::gentoo/dev-util/intel-ocl-sdk/intel-ocl-sdk-18.1.0.015.ebuild because the old example code had multiple issues. Signed-off-by: Sebastian Engel gmx.de> Signed-off-by: Ulrich Müller gentoo.org> ebuild-writing/functions/src_unpack/rpm-sources/text.xml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml index 0029c53..99c932e 100644 --- a/ebuild-writing/functions/src_unpack/rpm-sources/text.xml +++ b/ebuild-writing/functions/src_unpack/rpm-sources/text.xml @@ -25,10 +25,8 @@ manner such as: src_unpack() { - rpm_src_unpack ${A} - cd "${S}" - - use ssl && eapply "${FILESDIR}/${PV}/${P}-ssl.patch" + unpack ${A} + rpm_unpack "${S}/rpm/intel-openclrt-${PV}-${ALT_PV}.x86_64.rpm" }