Files
perl-Perl-LanguageServer/perl-Perl-LanguageServer.spec
Dirk Stoecker 48707b1bab Accepting request 874807 from devel:languages:perl:autoupdate
- updated to 2.2.0
   see /usr/share/doc/packages/perl-Perl-LanguageServer/Changes
  2.2.0   21.02.2021
          - Parser now supports Moose method modifieres before, after and around,
            so they can be used in symbol view and within reference search
          - Support Format Document and Format Selection via perltidy
          - Add logFile config option
          - Add perlArgs config option to pass options to Perl interpreter. Add some documentation for config options.
          - Add disableCache config option to make LanguageServer usable with readonly directories.
          - updated dependencies package.json & package-lock.json
          - Fix deep recursion in SymbolView/Parser which was caused by function prototypes.
            Solves also #65
          - Fix duplicate req id's that caused cleanup of still
            running threads which in turn caused the LanguageServer to hang
          - Prevent dereferencing an undefined value (#63) [Heiko Jansen]
          - Fix datatype of cwd config options (#47)
          - Use perlInc setting also for LanguageServer itself (based ony pull request #54 from ALANVF)
          - Catch Exceptions during display of variables inside debugger
          - Fix detecting duplicate LanguageServer processes
          - Fix spelling in documentation (#56) [Christopher Chavez]
          - Remove notice about Compiler::Lexer 0.22 bugs (#55) [Christopher Chavez]
          - README: Typo and grammar fixes. Add Carton lib path instructions. (#40) [szTheory]
          - README: Markdown code block formatting (#42) [szTheory]
          - Makefile.PL: add META_MERGE with GitHub info (#32) [Christopher Chavez]
          - search.cpan.org retired, replace with metacpan.org (#31) [Christopher Chavez]

OBS-URL: https://build.opensuse.org/request/show/874807
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Perl-LanguageServer?expand=0&rev=2
2021-02-25 12:20:04 +00:00

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.2.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