From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 58CB51582EF for ; Sat, 15 Feb 2025 15:53:05 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 40DEA342F65 for ; Sat, 15 Feb 2025 15:53:05 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2DDAF110472; Sat, 15 Feb 2025 15:53:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 25429110472 for ; Sat, 15 Feb 2025 15:53:00 +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 D610C3430AA for ; Sat, 15 Feb 2025 15:52:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3C6942714 for ; Sat, 15 Feb 2025 15:52:58 +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: <1739634691.9774a49a69ca829384640606d859045843dadd6a.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/spectrum2/spectrum2-2.2.1.ebuild X-VCS-Directories: net-im/spectrum2/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 9774a49a69ca829384640606d859045843dadd6a X-VCS-Branch: master Date: Sat, 15 Feb 2025 15:52:58 +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: 5b9d3b40-548e-4830-9e93-a8465b197882 X-Archives-Hash: f38b34a8a3a48810d59091f013e8ccc5 commit: 9774a49a69ca829384640606d859045843dadd6a Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:11:42 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Feb 15 15:51:31 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9774a49a net-im/spectrum2: Port to ver_replacing Signed-off-by: Ulrich Müller gentoo.org> net-im/spectrum2/spectrum2-2.2.1.ebuild | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/net-im/spectrum2/spectrum2-2.2.1.ebuild b/net-im/spectrum2/spectrum2-2.2.1.ebuild index bfeccf1de360..1f90c0890c70 100644 --- a/net-im/spectrum2/spectrum2-2.2.1.ebuild +++ b/net-im/spectrum2/spectrum2-2.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit cmake systemd tmpfiles +inherit cmake eapi9-ver systemd tmpfiles DESCRIPTION="An open source instant messaging transport" HOMEPAGE="https://www.spectrum.im" @@ -113,14 +113,9 @@ src_install() { pkg_postinst() { tmpfiles_process spectrum2.conf - if [[ ${REPLACING_VERSIONS} ]]; then - for v in ${REPLACING_VERSIONS}; do - if ver_test "${v}" -lt 2.2.0; then - ewarn "Starting with Release 2.2.0, the path for spectrum2" - ewarn "executable helper files has been changed from '/usr/bin'" - ewarn "to '/usr/libexec'. Please update your config files!" - break - fi - done + if ver_replacing -lt 2.2.0; then + ewarn "Starting with Release 2.2.0, the path for spectrum2" + ewarn "executable helper files has been changed from '/usr/bin'" + ewarn "to '/usr/libexec'. Please update your config files!" fi }