10
0

3 Commits

3 changed files with 46 additions and 14 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-AnyEvent-WebSocket-Client/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-AnyEvent-WebSocket-Client)

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 3 15:09:52 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Fri May 5 03:05:58 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-AnyEvent-WebSocket-Client
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,34 +18,48 @@
%define cpan_name AnyEvent-WebSocket-Client
Name: perl-AnyEvent-WebSocket-Client
Version: 0.55
Version: 0.550.0
Release: 0
# 0.55 -> normalize -> 0.550.0
%define cpan_version 0.55
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: WebSocket client for AnyEvent
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(AnyEvent) >= 7.13
BuildRequires: perl(AnyEvent::Connector) >= 0.03
BuildRequires: perl(AnyEvent) >= 7.130
BuildRequires: perl(AnyEvent::Connector) >= 0.30
BuildRequires: perl(Moo) >= 2.0
BuildRequires: perl(PerlX::Maybe) >= 0.003
BuildRequires: perl(Protocol::WebSocket) >= 0.20
BuildRequires: perl(PerlX::Maybe) >= 0.3
BuildRequires: perl(Protocol::WebSocket) >= 0.200
BuildRequires: perl(Test2::API) >= 1.302015
BuildRequires: perl(Test2::Require) >= 0.000121
BuildRequires: perl(Test2::Require::Module) >= 0.000121
BuildRequires: perl(Test2::V0) >= 0.000121
BuildRequires: perl(URI) >= 1.53
BuildRequires: perl(URI) >= 1.530
BuildRequires: perl(URI::ws)
Requires: perl(AnyEvent) >= 7.13
Requires: perl(AnyEvent::Connector) >= 0.03
Requires: perl(AnyEvent) >= 7.130
Requires: perl(AnyEvent::Connector) >= 0.30
Requires: perl(Moo) >= 2.0
Requires: perl(PerlX::Maybe) >= 0.003
Requires: perl(Protocol::WebSocket) >= 0.20
Requires: perl(URI) >= 1.53
Requires: perl(PerlX::Maybe) >= 0.3
Requires: perl(Protocol::WebSocket) >= 0.200
Requires: perl(URI) >= 1.530
Requires: perl(URI::ws)
Provides: perl(AnyEvent::WebSocket::Client) = %{version}
Provides: perl(AnyEvent::WebSocket::Connection) = %{version}
Provides: perl(AnyEvent::WebSocket::Message) = %{version}
Provides: perl(Test2::Plugin::AnyEvent::Timeout)
Provides: perl(Test2::Plugin::EV)
Provides: perl(Test2::Require::NotWindows)
Provides: perl(Test2::Require::SSL)
Provides: perl(Test2::Tools::WebSocket::Connection)
Provides: perl(Test2::Tools::WebSocket::Mojo)
Provides: perl(Test2::Tools::WebSocket::Server)
%undefine __perllib_provides
Recommends: perl(EV)
Recommends: perl(IO::Socket::SSL)
Recommends: perl(Math::Random::Secure)
@@ -67,7 +81,7 @@ using this module. The older version of the API has since been deprecated
and removed.
%prep
%autosetup -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644