Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Test-Spec for openSUSE:Factory 
checked in at 2025-06-13 18:44:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Test-Spec (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Test-Spec.new.19631 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Test-Spec"

Fri Jun 13 18:44:44 2025 rev:16 rq:1285256 version:0.540.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Test-Spec/perl-Test-Spec.changes    
2018-07-28 12:41:10.204514301 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Test-Spec.new.19631/perl-Test-Spec.changes 
2025-06-13 18:45:11.038190727 +0200
@@ -1,0 +2,6 @@
+Thu Jun 12 18:55:36 UTC 2025 - Tina Müller <tina.muel...@suse.com>
+
+- Normalize CPAN version
+  See https://github.com/openSUSE/cpanspec/issues/47 for details
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ perl-Test-Spec.spec ++++++
--- /var/tmp/diff_new_pack.80Na1R/_old  2025-06-13 18:45:11.658215248 +0200
+++ /var/tmp/diff_new_pack.80Na1R/_new  2025-06-13 18:45:11.662215406 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Test-Spec
 #
-# Copyright (c) 2018 SUSE LINUX 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,38 +12,49 @@
 # 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/
 #
 
 
+%define cpan_name Test-Spec
 Name:           perl-Test-Spec
-Version:        0.54
+Version:        0.540.0
 Release:        0
-%define cpan_name Test-Spec
-Summary:        Write tests in a declarative specification style
+# 0.54 -> normalize -> 0.540.0
+%define cpan_version 0.54
 License:        Artistic-1.0 OR GPL-1.0-or-later
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Test-Spec/
-Source0:        
https://cpan.metacpan.org/authors/id/A/AK/AKZHAN/%{cpan_name}-%{version}.tar.gz
+Summary:        Write tests in a declarative specification style
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/A/AK/AKZHAN/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Devel::GlobalPhase)
-BuildRequires:  perl(Package::Stash) >= 0.23
+BuildRequires:  perl(Package::Stash) >= 0.230
 BuildRequires:  perl(TAP::Parser)
 BuildRequires:  perl(Test::Deep) >= 0.103
 BuildRequires:  perl(Test::More) >= 0.88
 BuildRequires:  perl(Test::Trap)
 BuildRequires:  perl(Tie::IxHash)
 Requires:       perl(Devel::GlobalPhase)
-Requires:       perl(Package::Stash) >= 0.23
+Requires:       perl(Package::Stash) >= 0.230
 Requires:       perl(TAP::Parser)
 Requires:       perl(Test::Deep) >= 0.103
 Requires:       perl(Test::More) >= 0.88
 Requires:       perl(Test::Trap)
 Requires:       perl(Tie::IxHash)
+Provides:       perl(Test::Spec) = %{version}
+Provides:       perl(Test::Spec::Context)
+Provides:       perl(Test::Spec::Example)
+Provides:       perl(Test::Spec::ExportProxy)
+Provides:       perl(Test::Spec::Mocks)
+Provides:       perl(Test::Spec::Mocks::Expectation)
+Provides:       perl(Test::Spec::Mocks::MockObject)
+Provides:       perl(Test::Spec::Mocks::Stub)
+Provides:       perl(Test::Spec::SharedHash)
+Provides:       perl(Test::Spec::TodoExample)
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -58,15 +69,16 @@
 language.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
-find . -type f ! -name \*.pl -print0 | xargs -0 chmod 644
+%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
@@ -74,6 +86,5 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README.md
 

Reply via email to