- updated to 2.3.0 see /usr/share/doc/packages/perl-Perl-LanguageServer/Changes 2.3.0 26.09.2021 - Arguments section in Variable lists now @ARGV and @_ during debugging (#105) - @_ is now correctly evaluated inside of debugger console - $#foo is now correctly evaluated inside of debugger console - Default debug configuration is now automatically provided without the need to create a launch.json first (#103) - Add Option cacheDir to specify location of cache dir (#113) - Fix: Debugger outputted invalid thread reference causes "no such coroutine" message, so watchs and code from the debug console is not expanded properly - Fix: LanguageServer hangs when multiple request send at once from VSCode to LanguageServer - Fix: cwd parameter for debugger in launch.json had no effect (#99) - Fix: Correctly handle paths with drive letters on windows - Fix: sshArgs parameter was not declared as array (#109) - Disable syntax check on windows, because it blocks the whole process when running on windows, until handling of childs processes is fixed - Fixed spelling (#86,#96,#101) [chrstphrchvz,davorg,aluaces] OBS-URL: https://build.opensuse.org/request/show/921764 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-LanguageServer?expand=0&rev=3
81 lines
2.2 KiB
RPMSpec
81 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package perl-Perl-LanguageServer
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define cpan_name Perl-LanguageServer
|
|
Name: perl-Perl-LanguageServer
|
|
Version: 2.3.0
|
|
Release: 0
|
|
Summary: Language Server and Debug Protocol Adapter for Perl
|
|
License: Artistic-2.0
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
Source0: https://cpan.metacpan.org/authors/id/G/GR/GRICHTER/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildArch: noarch
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(AnyEvent)
|
|
BuildRequires: perl(AnyEvent::AIO)
|
|
BuildRequires: perl(Class::Refresh)
|
|
BuildRequires: perl(Compiler::Lexer) >= 0.23
|
|
BuildRequires: perl(Coro)
|
|
BuildRequires: perl(Data::Dump)
|
|
BuildRequires: perl(IO::AIO)
|
|
BuildRequires: perl(JSON)
|
|
BuildRequires: perl(Moose)
|
|
BuildRequires: perl(PadWalker)
|
|
Requires: perl(AnyEvent)
|
|
Requires: perl(AnyEvent::AIO)
|
|
Requires: perl(Class::Refresh)
|
|
Requires: perl(Compiler::Lexer) >= 0.23
|
|
Requires: perl(Coro)
|
|
Requires: perl(Data::Dump)
|
|
Requires: perl(IO::AIO)
|
|
Requires: perl(JSON)
|
|
Requires: perl(Moose)
|
|
Requires: perl(PadWalker)
|
|
%{perl_requires}
|
|
# MANUAL BEGIN
|
|
BuildRequires: dos2unix
|
|
# MANUAL END
|
|
|
|
%description
|
|
Language Server and Debug Protocol Adapter for Perl
|
|
|
|
%prep
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
# MANUAL BEGIN
|
|
dos2unix README
|
|
# MANUAL END
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
%make_build
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%doc Changes README
|
|
|
|
%changelog
|