public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/
Date: Sat, 15 Feb 2025 15:52:58 +0000 (UTC)	[thread overview]
Message-ID: <1739634691.9774a49a69ca829384640606d859045843dadd6a.ulm@gentoo> (raw)

commit:     9774a49a69ca829384640606d859045843dadd6a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:11:42 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> 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 <ulm <AT> 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
 }


             reply	other threads:[~2025-02-15 15:53 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15 15:52 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-26 23:42 [gentoo-commits] repo/gentoo:master commit in: net-im/spectrum2/ Conrad Kostecki
2023-08-26 23:42 Conrad Kostecki
2023-07-23 19:34 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-05-24 22:12 Conrad Kostecki
2023-04-22 23:53 Conrad Kostecki
2023-04-10 18:38 Conrad Kostecki
2023-04-01 19:39 Conrad Kostecki
2023-04-01 19:39 Conrad Kostecki
2023-02-04 21:32 Sam James
2023-02-04 21:32 Sam James
2022-04-13 14:46 Sam James
2022-04-06 23:37 Conrad Kostecki
2022-04-06 23:37 Conrad Kostecki
2022-03-12 11:52 Conrad Kostecki
2022-03-12 11:52 Conrad Kostecki
2022-03-06 20:22 Conrad Kostecki
2021-11-16 22:18 Conrad Kostecki
2021-10-17 14:38 Conrad Kostecki
2021-07-30 23:31 Sam James
2020-12-13 19:39 Conrad Kostecki
2020-09-01 22:45 Sam James
2020-08-01 19:40 Conrad Kostecki
2020-08-01 19:40 Conrad Kostecki
2020-07-30 13:38 Conrad Kostecki
2020-07-30 13:38 Conrad Kostecki
2020-07-30 13:38 Conrad Kostecki
2020-07-30 13:38 Conrad Kostecki
2020-07-19 17:01 Conrad Kostecki
2020-04-06 18:32 Conrad Kostecki
2020-04-06 18:32 Conrad Kostecki
2019-09-20  8:47 Andrey Utkin
2019-09-20  8:47 Andrey Utkin
2019-07-21 21:48 Andreas Sturmlechner
2019-07-21 21:48 Andreas Sturmlechner
2019-02-26 20:29 Andrey Utkin
2019-01-28  1:52 Andrey Utkin
2018-11-25  2:59 Andrey Utkin
2018-11-24  2:46 Andrey Utkin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1739634691.9774a49a69ca829384640606d859045843dadd6a.ulm@gentoo \
    --to=ulm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox