Dirk Stoecker 2020-10-28 14:02:23 +00:00 committed by Git OBS Bridge
parent bd0b604ca8
commit 71a373405c
2 changed files with 17 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 28 13:44:33 UTC 2020 - Dirk Stoecker <opensuse@dstoecker.de>
- fix build with perl 5.32 by regenerating spec with cpanspec
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 16 12:59:16 CEST 2013 - pth@suse.de Thu May 16 12:59:16 CEST 2013 - pth@suse.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package perl-Pod-Coverage # spec file for package perl-Pod-Coverage
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2020 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
@ -21,19 +21,20 @@ Version: 0.23
Release: 0 Release: 0
%define cpan_name Pod-Coverage %define cpan_name Pod-Coverage
Summary: Checks if the documentation of a module is comprehensive Summary: Checks if the documentation of a module is comprehensive
License: GPL-1.0+ or Artistic-1.0 License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Pod-Coverage/ URL: https://metacpan.org/release/%{cpan_name}
Source: http://www.cpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz Source0: https://cpan.metacpan.org/authors/id/R/RC/RCLAMP/%{cpan_name}-%{version}.tar.gz
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros BuildRequires: perl-macros
BuildRequires: perl(Devel::Symdump) >= 2.01 BuildRequires: perl(Devel::Symdump) >= 2.01
#BuildRequires: perl(GrandParent) BuildRequires: perl(Pod::Find) >= 0.21
#BuildRequires: perl(Parent) BuildRequires: perl(Pod::Parser) >= 1.13
#BuildRequires: perl(Pod::Coverage)
Requires: perl(Devel::Symdump) >= 2.01 Requires: perl(Devel::Symdump) >= 2.01
Requires: perl(Pod::Find) >= 0.21
Requires: perl(Pod::Parser) >= 1.13
%{perl_requires} %{perl_requires}
%description %description
@ -68,11 +69,11 @@ package is only 50% (0.5) covered
%setup -q -n %{cpan_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%build %build
%{__perl} Makefile.PL INSTALLDIRS=vendor perl Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%check %check
%{__make} test make test
%install %install
%perl_make_install %perl_make_install