forked from pool/perl-AnyEvent-WebSocket-Client
Accepting request 880378 from devel:languages:perl:autoupdate
- updated to 0.54 see /usr/share/doc/packages/perl-AnyEvent-WebSocket-Client/Changes 0.54 2021-03-19 06:13:48 -0600 - Delay loading AnyEvent::Connector until needed. - Moved git repository to new github org. OBS-URL: https://build.opensuse.org/request/show/880378 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-AnyEvent-WebSocket-Client?expand=0&rev=3
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-AnyEvent-WebSocket-Client
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
Name: perl-AnyEvent-WebSocket-Client
|
||||
Version: 0.53
|
||||
Release: 0
|
||||
%define cpan_name AnyEvent-WebSocket-Client
|
||||
Name: perl-AnyEvent-WebSocket-Client
|
||||
Version: 0.54
|
||||
Release: 0
|
||||
Summary: WebSocket client for AnyEvent
|
||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||
Group: Development/Libraries/Perl
|
||||
Url: https://metacpan.org/release/%{cpan_name}
|
||||
URL: https://metacpan.org/release/%{cpan_name}
|
||||
Source0: https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/%{cpan_name}-%{version}.tar.gz
|
||||
Source1: cpanspec.yml
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(AnyEvent) >= 7.13
|
||||
@@ -40,7 +39,6 @@ BuildRequires: perl(Test2::Require::Module) >= 0.000060
|
||||
BuildRequires: perl(Test2::V0) >= 0.000060
|
||||
BuildRequires: perl(URI) >= 1.53
|
||||
BuildRequires: perl(URI::ws)
|
||||
Requires: perl-base = %{perl_version}
|
||||
Requires: perl(AnyEvent) >= 7.13
|
||||
Requires: perl(AnyEvent::Connector) >= 0.03
|
||||
Requires: perl(Moo) >= 2.0
|
||||
@@ -53,7 +51,6 @@ Recommends: perl(IO::Socket::SSL)
|
||||
Recommends: perl(Math::Random::Secure)
|
||||
Recommends: perl(Net::SSLeay)
|
||||
Recommends: perl(PerlX::Maybe::XS)
|
||||
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -70,12 +67,12 @@ using this module. The older version of the API has since been deprecated
|
||||
and removed.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
|
||||
%autosetup -n %{cpan_name}-%{version}
|
||||
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
perl Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%check
|
||||
make test
|
||||
@@ -86,7 +83,6 @@ make test
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc author.yml Changes example README
|
||||
%license LICENSE
|
||||
|
||||
|
Reference in New Issue
Block a user