Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Class-Inner for 
openSUSE:Factory checked in at 2025-06-24 20:48:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Class-Inner (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Class-Inner.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Class-Inner"

Tue Jun 24 20:48:44 2025 rev:9 rq:1288080 version:0.200.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Class-Inner/perl-Class-Inner.changes        
2011-09-23 12:36:19.000000000 +0200
+++ 
/work/SRC/openSUSE:Factory/.perl-Class-Inner.new.7067/perl-Class-Inner.changes  
    2025-06-24 20:50:24.839418451 +0200
@@ -1,0 +2,7 @@
+Mon Jun 23 21:37:28 UTC 2025 - Tina Müller <tina.muel...@suse.com>
+
+- Normalize CPAN version
+  See https://github.com/openSUSE/cpanspec/issues/47 for details
+- Add cpanspec.yml for automatic spec generation
+
+-------------------------------------------------------------------

New:
----
  cpanspec.yml

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

Other differences:
------------------
++++++ perl-Class-Inner.spec ++++++
--- /var/tmp/diff_new_pack.Up43Pt/_old  2025-06-24 20:50:25.507445790 +0200
+++ /var/tmp/diff_new_pack.Up43Pt/_new  2025-06-24 20:50:25.511445953 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Class-Inner
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,26 @@
 # 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-Class-Inner
-Version:        0.200001
-Release:        1
-# MANUAL
-License:        GPL-1.0+ or Artistic-1.0
 %define cpan_name Class-Inner
-Summary:        A perlish implementation of Java like inner classes
-Url:            http://search.cpan.org/dist/Class-Inner/
-Group:          Development/Libraries/Perl
-Source:         
http://www.cpan.org/authors/id/A/AR/ARUNBEAR/%{cpan_name}-%{version}.tar.gz
+Name:           perl-Class-Inner
+Version:        0.200.1
+Release:        0
+# 0.200001 -> normalize -> 0.200.1
+%define cpan_version 0.200001
+License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Perlish implementation of Java like inner classes
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/A/AR/ARUNBEAR/%{cpan_name}-%{cpan_version}.tar.gz
+Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(ExtUtils::MakeMaker)
+Provides:       perl(Class::Inner) = %{version}
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -40,24 +40,22 @@
 dispatch to the parent class's method.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup -n %{cpan_name}-%{cpan_version} -p1
+
+find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path 
"*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 
644
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+perl Makefile.PL INSTALLDIRS=vendor
+%make_build
 
 %check
-%{__make} test
+make test
 
 %install
 %perl_make_install
 %perl_process_packlist
 %perl_gen_filelist
 
-%clean
-%{__rm} -rf %{buildroot}
-
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 

++++++ 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:
#  baz.patch: PATCH-FIX-OPENSUSE
#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
#ignore_provides: Module::To::Ignore
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section
#epoch: number

Reply via email to