Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package perl-Benchmark-Timer for
openSUSE:Factory checked in at 2025-06-24 20:48:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Benchmark-Timer (Old)
and /work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new.7067 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Benchmark-Timer"
Tue Jun 24 20:48:35 2025 rev:8 rq:1288070 version:0.711.200
Changes:
--------
---
/work/SRC/openSUSE:Factory/perl-Benchmark-Timer/perl-Benchmark-Timer.changes
2018-07-28 12:40:49.300474118 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Benchmark-Timer.new.7067/perl-Benchmark-Timer.changes
2025-06-24 20:50:14.631000689 +0200
@@ -1,0 +2,6 @@
+Mon Jun 23 21:21:03 UTC 2025 - Tina Müller <[email protected]>
+
+- Normalize CPAN version
+ See https://github.com/openSUSE/cpanspec/issues/47 for details
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Benchmark-Timer.spec ++++++
--- /var/tmp/diff_new_pack.Bp0zG5/_old 2025-06-24 20:50:15.251026063 +0200
+++ /var/tmp/diff_new_pack.Bp0zG5/_new 2025-06-24 20:50:15.255026226 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Benchmark-Timer
#
-# 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,27 +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 Benchmark-Timer
Name: perl-Benchmark-Timer
-Version: 0.7112
+Version: 0.711.200
Release: 0
-#Upstream: GPL-2.0+
-%define cpan_name Benchmark-Timer
-Summary: Benchmarking with statistical confidence
+# 0.7112 -> normalize -> 0.711.200
+%define cpan_version 0.7112
+#Upstream: GPL-2.0-or-later
License: GPL-2.0-or-later
-Group: Development/Libraries/Perl
-Url: http://search.cpan.org/dist/Benchmark-Timer/
-Source0:
https://cpan.metacpan.org/authors/id/D/DC/DCOPPIT/%{cpan_name}-%{version}.tar.gz
+Summary: Benchmarking with statistical confidence
+URL: https://metacpan.org/release/%{cpan_name}
+Source0:
https://cpan.metacpan.org/authors/id/D/DC/DCOPPIT/%{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) >= 6.36
BuildRequires: perl(Test::Compile)
BuildRequires: perl(UNIVERSAL::require)
+BuildRequires: perl(URI::Escape)
%{perl_requires}
%description
@@ -58,19 +60,20 @@
irregularities.
%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
# MANUAL BEGIN
sed -i -e 's/use inc::Module::Install;/use lib q[.];\nuse
inc::Module::Install;/' Makefile.PL
sed -i -e 's,/usr/local/bin/perl,/usr/bin/perl,' delta.pl
# MANUAL END
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
-%{__make} %{?_smp_mflags}
+PERL_USE_UNSAFE_INC=1 perl Makefile.PL INSTALLDIRS=vendor
+%make_build
%check
-%{__make} test
+make test
%install
%perl_make_install
@@ -78,7 +81,6 @@
%perl_gen_filelist
%files -f %{name}.files
-%defattr(-,root,root,755)
%doc CHANGES README TODO
%license LICENSE