[packages/perl-AnyEvent] - versioned Obsoleted and Suggests

qboosh qboosh at pld-linux.org
Thu Sep 18 21:02:30 CEST 2025


commit 2bf5e0768d697cf43fc84e0f8cd6d6bdd9594aa6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 18 21:05:29 2025 +0200

    - versioned Obsoleted and Suggests

 perl-AnyEvent.spec | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/perl-AnyEvent.spec b/perl-AnyEvent.spec
index 3ec5d01..3ca9f7f 100644
--- a/perl-AnyEvent.spec
+++ b/perl-AnyEvent.spec
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_without	tests	# do not perform "make test"
+%bcond_without	tests	# unit tests
 %bcond_with	fltk	# FLTK binding (requires a long chain of non-existing packages)
 %bcond_with	qt3	# Qt3 binding
 #
@@ -15,7 +15,7 @@ Epoch:		3
 # same as perl
 License:	GPL v1+ or Artistic
 Group:		Development/Languages/Perl
-Source0:	http://www.cpan.org/modules/by-module/AnyEvent/%{pnam}-%{version}.tar.gz
+Source0:	https://www.cpan.org/modules/by-module/AnyEvent/%{pnam}-%{version}.tar.gz
 # Source0-md5:	7ac0d8f410061ec2a62c6ca9341f5fed
 Patch0:		%{name}-noarch.patch
 URL:		https://metacpan.org/dist/AnyEvent
@@ -24,8 +24,8 @@ BuildRequires:	perl-ExtUtils-MakeMaker >= 6.52
 BuildRequires:	perl-devel >= 1:5.8.1
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	rpmbuild(macros) >= 1.745
-Suggests:	%{name}-Impl-EV
-Obsoletes:	perl-AnyEvent-Impl-Cocoa
+Suggests:	%{name}-Impl-EV = %{epoch}:%{version}-%{release}
+Obsoletes:	perl-AnyEvent-Impl-Cocoa < 3:5.31-4
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/perl-AnyEvent.git/commitdiff/2bf5e0768d697cf43fc84e0f8cd6d6bdd9594aa6



More information about the pld-cvs-commit mailing list