Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package perl-Text-Diff for openSUSE:Factory 
checked in at 2025-05-12 16:46:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-Diff (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-Diff.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-Diff"

Mon May 12 16:46:09 2025 rev:19 rq:1276530 version:1.450.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-Diff/perl-Text-Diff.changes    
2017-08-29 11:37:02.955712404 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Text-Diff.new.30101/perl-Text-Diff.changes 
2025-05-12 16:49:21.057856799 +0200
@@ -1,0 +2,6 @@
+Sat May 10 23:22:51 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-Text-Diff.spec ++++++
--- /var/tmp/diff_new_pack.EDej1a/_old  2025-05-12 16:49:21.697883642 +0200
+++ /var/tmp/diff_new_pack.EDej1a/_new  2025-05-12 16:49:21.701883810 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perl-Text-Diff
 #
-# Copyright (c) 2017 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,31 @@
 # 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 Text-Diff
 Name:           perl-Text-Diff
-Version:        1.45
+Version:        1.450.0
 Release:        0
-%define cpan_name Text-Diff
+# 1.45 -> normalize -> 1.450.0
+%define cpan_version 1.45
+License:        Artistic-1.0 OR GPL-1.0-or-later
 Summary:        Perform diffs on files and record sets
-License:        Artistic-1.0 or GPL-1.0+
-Group:          Development/Libraries/Perl
-Url:            http://search.cpan.org/dist/Text-Diff/
-Source0:        
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{version}.tar.gz
+URL:            https://metacpan.org/release/%{cpan_name}
+Source0:        
https://cpan.metacpan.org/authors/id/N/NE/NEILB/%{cpan_name}-%{cpan_version}.tar.gz
 Source1:        cpanspec.yml
 BuildArch:      noarch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
-BuildRequires:  perl(Algorithm::Diff) >= 1.19
-Requires:       perl(Algorithm::Diff) >= 1.19
+BuildRequires:  perl(Algorithm::Diff) >= 1.190
+Requires:       perl(Algorithm::Diff) >= 1.190
+Provides:       perl(Text::Diff) = %{version}
+Provides:       perl(Text::Diff::Base)
+Provides:       perl(Text::Diff::Config) = 1.440.0
+Provides:       perl(Text::Diff::Table) = 1.440.0
+%undefine       __perllib_provides
 %{perl_requires}
 
 %description
@@ -60,14 +65,14 @@
 'croak'.
 
 %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
@@ -75,7 +80,6 @@
 %perl_gen_filelist
 
 %files -f %{name}.files
-%defattr(-,root,root,755)
 %doc Changes README
 %license LICENSE
 

Reply via email to