diff --git a/Protocol-WebSocket-0.12.tar.gz b/Protocol-WebSocket-0.12.tar.gz deleted file mode 100644 index 5a77155..0000000 --- a/Protocol-WebSocket-0.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1c2730bd91849d56cef9bb00b6a552219654fcbd1ae4d48da925b44cc1a83038 -size 49703 diff --git a/Protocol-WebSocket-0.18.tar.gz b/Protocol-WebSocket-0.18.tar.gz new file mode 100644 index 0000000..2e22b0e --- /dev/null +++ b/Protocol-WebSocket-0.18.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:57dc9171397ebdcdb47cfef6229e07fb512168d8e5569ca24d719e1e8c0548b9 +size 35743 diff --git a/perl-Protocol-WebSocket.changes b/perl-Protocol-WebSocket.changes index 7f504c5..40f7d75 100644 --- a/perl-Protocol-WebSocket.changes +++ b/perl-Protocol-WebSocket.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 14 18:33:21 UTC 2015 - coolo@suse.com + +- updated to 0.18 + see /usr/share/doc/packages/perl-Protocol-WebSocket/Changes + ------------------------------------------------------------------- Tue Oct 1 06:41:53 UTC 2013 - coolo@suse.com diff --git a/perl-Protocol-WebSocket.spec b/perl-Protocol-WebSocket.spec index b12c7d6..d38af8e 100644 --- a/perl-Protocol-WebSocket.spec +++ b/perl-Protocol-WebSocket.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Protocol-WebSocket # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,11 +17,11 @@ Name: perl-Protocol-WebSocket -Version: 0.12 +Version: 0.18 Release: 0 %define cpan_name Protocol-WebSocket Summary: WebSocket protocol -License: Artistic-2.0 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Protocol-WebSocket/ Source: http://www.cpan.org/authors/id/V/VT/VTI/%{cpan_name}-%{version}.tar.gz @@ -29,51 +29,9 @@ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Digest::SHA1) -#BuildRequires: perl(AE) -#BuildRequires: perl(AnyEvent::Handle) -#BuildRequires: perl(AnyEvent::HTTP::Server) -#BuildRequires: perl(AnyEvent::Impl::Perl) -#BuildRequires: perl(AnyEvent::Socket) -#BuildRequires: perl(CPANPLUS::Backend) -#BuildRequires: perl(Event) -#BuildRequires: perl(Event::io) -#BuildRequires: perl(EventReactor) -#BuildRequires: perl(inc::Module::Install) -#BuildRequires: perl(IO::Async::Listener) -#BuildRequires: perl(IO::Async::Loop) -#BuildRequires: perl(IO::Event) -#BuildRequires: perl(IO::Lambda) -#BuildRequires: perl(IO::Lambda::Socket) -#BuildRequires: perl(IO::Multiplex) -#BuildRequires: perl(JSON) -#BuildRequires: perl(LWP::Simple) -#BuildRequires: perl(Module::AutoInstall) -#BuildRequires: perl(Module::Build) -#BuildRequires: perl(Module::Install::Base) -#BuildRequires: perl(Moose) -#BuildRequires: perl(Net::Server::Multiplex) -#BuildRequires: perl(Nginx::Engine) -#BuildRequires: perl(Parse::CPAN::Meta) -#BuildRequires: perl(POE) -#BuildRequires: perl(POE::Component::Server::TCP) -#BuildRequires: perl(Protocol::WebSocket::Cookie) -#BuildRequires: perl(Protocol::WebSocket::Cookie::Request) -#BuildRequires: perl(Protocol::WebSocket::Cookie::Response) -#BuildRequires: perl(Protocol::WebSocket::Frame) -#BuildRequires: perl(Protocol::WebSocket::Handshake) -#BuildRequires: perl(Protocol::WebSocket::Handshake::Client) -#BuildRequires: perl(Protocol::WebSocket::Handshake::Server) -#BuildRequires: perl(Protocol::WebSocket::Message) -#BuildRequires: perl(Protocol::WebSocket::Request) -#BuildRequires: perl(Protocol::WebSocket::Response) -#BuildRequires: perl(Protocol::WebSocket::Stateful) -#BuildRequires: perl(Protocol::WebSocket::URL) -#BuildRequires: perl(Reflex::Acceptor) -#BuildRequires: perl(Reflex::Collection) -#BuildRequires: perl(Reflex::Stream) -#BuildRequires: perl(YAML::Tiny) -Requires: perl(Digest::SHA1) +BuildRequires: perl(Digest::SHA) +BuildRequires: perl(Module::Build) >= 0.38 +Requires: perl(Digest::SHA) %{perl_requires} %description @@ -98,21 +56,21 @@ be used directly. Instead the following modules should be used: %prep %setup -q -n %{cpan_name}-%{version} +find . -type f -print0 | xargs -0 chmod 644 %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +%{__perl} Build.PL installdirs=vendor +./Build build flags=%{?_smp_mflags} %check -%{__make} test +./Build test %install -%perl_make_install -%perl_process_packlist +./Build install destdir=%{buildroot} create_packlist=0 %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes examples MYMETA.json MYMETA.yml +%doc Changes examples LICENSE minil.toml util %changelog