Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Devel-GlobalDestruction for 
openSUSE:Factory checked in at 2025-05-20 17:05:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Devel-GlobalDestruction (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Devel-GlobalDestruction.new.30101 
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Devel-GlobalDestruction"

Tue May 20 17:05:04 2025 rev:17 rq:1278638 version:0.140.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/perl-Devel-GlobalDestruction/perl-Devel-GlobalDestruction.changes
        2016-11-10 13:27:24.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.perl-Devel-GlobalDestruction.new.30101/perl-Devel-GlobalDestruction.changes
     2025-05-20 17:05:17.032498929 +0200
@@ -1,0 +2,6 @@
+Tue May 20 10:39:49 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-Devel-GlobalDestruction.spec ++++++
--- /var/tmp/diff_new_pack.j0M1X9/_old  2025-05-20 17:05:17.700527270 +0200
+++ /var/tmp/diff_new_pack.j0M1X9/_new  2025-05-20 17:05:17.700527270 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Devel-GlobalDestruction
 #
-# Copyright (c) 2016 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,26 +12,29 @@
 # 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 Devel-GlobalDestruction
 Name:           perl-Devel-GlobalDestruction
-Version:        0.14
+Version:        0.140.0
 Release:        0
-%define cpan_name Devel-GlobalDestruction
-Summary:        Provides function returning the equivalent of
-License:        Artistic-1.0 or GPL-1.0+
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Devel-GlobalDestruction/
-Source0:        
http://www.cpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
+# 0.14 -> normalize -> 0.140.0
+%define cpan_version 0.14
+License:        Artistic-1.0 OR GPL-1.0-or-later
+Summary:        Provides function returning the equivalent of ${^GLOBAL_PHASE} 
eq 'DESTR[cut]
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
 BuildRequires:  perl(Sub::Exporter::Progressive) >= 0.001011
 Requires:       perl(Sub::Exporter::Progressive) >= 0.001011
+Provides:       perl(Devel::GlobalDestruction) = %{version}
+Provides:       perl(ExtUtils::HasCompiler) = 0.16.0
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -46,14 +49,14 @@
 global destruction is in effect.
 
 %prep
-%setup -q -n %{cpan_name}-%{version}
+%autosetup  -n %{cpan_name}-%{cpan_version} -p1
 
 %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
@@ -61,6 +64,5 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 

Reply via email to