Hello community,

here is the log from the commit of package perl-File-Comments for 
openSUSE:Factory checked in at 2020-10-29 09:23:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-File-Comments (Old)
 and      /work/SRC/openSUSE:Factory/.perl-File-Comments.new.3463 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-File-Comments"

Thu Oct 29 09:23:19 2020 rev:6 rq:844660 version:0.08

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-File-Comments/perl-File-Comments.changes    
2011-12-21 12:18:22.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-File-Comments.new.3463/perl-File-Comments.changes
  2020-10-29 09:23:24.714751358 +0100
@@ -1,0 +2,5 @@
+Wed Oct 28 17:34:25 UTC 2020 - Dirk Stoecker <[email protected]>
+
+- Regenerate spec file with cpanspec to fix build with perl 5.32
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-File-Comments.spec ++++++
--- /var/tmp/diff_new_pack.BrGIwl/_old  2020-10-29 09:23:25.246751868 +0100
+++ /var/tmp/diff_new_pack.BrGIwl/_new  2020-10-29 09:23:25.250751872 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-File-Comments
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,18 +12,20 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # 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/
 #
 
+
 Name:           perl-File-Comments
 Version:        0.08
 Release:        0
 %define cpan_name File-Comments
 Summary:        Recognizes file formats and extracts format-specific comments
-License:        GPL-1.0+ or Artistic-1.0
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/File-Comments/
-Source:         
http://www.cpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/M/MS/MSCHILLI/%{cpan_name}-%{version}.tar.gz
+Source1:        cpanspec.yml
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -33,6 +35,7 @@
 BuildRequires:  perl(Log::Log4perl) >= 0.5
 BuildRequires:  perl(Module::Pluggable) >= 2.4
 BuildRequires:  perl(PPI) >= 1.115
+BuildRequires:  perl(Pod::Parser) >= 1.14
 BuildRequires:  perl(Sysadm::Install) >= 0.11
 Requires:       perl(Archive::Tar) >= 1.22
 Requires:       perl(HTML::TokeParser) >= 2.28
@@ -40,6 +43,7 @@
 Requires:       perl(Log::Log4perl) >= 0.5
 Requires:       perl(Module::Pluggable) >= 2.4
 Requires:       perl(PPI) >= 1.115
+Requires:       perl(Pod::Parser) >= 1.14
 Requires:       perl(Sysadm::Install) >= 0.11
 %{perl_requires}
 
@@ -68,14 +72,14 @@
 
 %prep
 %setup -q -n %{cpan_name}-%{version}
-find . -type f -print0 | xargs -0 chmod 644
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+make %{?_smp_mflags}
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install

++++++ cpanspec.yml ++++++
---
#description_paragraphs: 3
#description: |-
#  override description from CPAN
#summary: override summary from CPAN
#no_testing: broken upstream
#sources:
#  - source1
#  - source2
#patches:
#  foo.patch: -p1
#  bar.patch:
#preamble: |-
# BuildRequires:  gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s,  *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL 
#post_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
license: Perl
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

Reply via email to