From b760bba7114f5e33c9454e22c8474b339e67729fdadfbbcce823a83d30e74004 Mon Sep 17 00:00:00 2001 From: Ana Guerrero Date: Wed, 22 Oct 2025 10:14:04 +0000 Subject: [PATCH] Accepting request 1312555 from devel:languages:perl - Normalize CPAN version See https://github.com/openSUSE/cpanspec/issues/47 for details OBS-URL: https://build.opensuse.org/request/show/1312555 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-Map?expand=0&rev=4 --- README.md | 12 ++++++++++++ _scmsync.obsinfo | 5 +++++ build.specials.obscpio | 3 +++ perl-File-Map.changes | 6 ++++++ perl-File-Map.spec | 29 +++++++++++++++++------------ 5 files changed, 43 insertions(+), 12 deletions(-) create mode 100644 README.md create mode 100644 _scmsync.obsinfo create mode 100644 build.specials.obscpio diff --git a/README.md b/README.md new file mode 100644 index 0000000..9e4979c --- /dev/null +++ b/README.md @@ -0,0 +1,12 @@ + +## Build Results + +Current state of perl in openSUSE:Factory is + +![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-File-Map/standard) + +The current state of perl in the devel project build (devel:languages:perl) + +![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-File-Map) + + diff --git a/_scmsync.obsinfo b/_scmsync.obsinfo new file mode 100644 index 0000000..e3abfb7 --- /dev/null +++ b/_scmsync.obsinfo @@ -0,0 +1,5 @@ +mtime: 1760445604 +commit: 828410d4cfb370e5e62b7c295a554b2f9fe2537635b22aa5d6bba66cb17f078e +url: https://src.opensuse.org/perl/perl-File-Map.git +revision: 828410d4cfb370e5e62b7c295a554b2f9fe2537635b22aa5d6bba66cb17f078e +projectscmsync: https://src.opensuse.org/perl/_ObsPrj diff --git a/build.specials.obscpio b/build.specials.obscpio new file mode 100644 index 0000000..3770b3c --- /dev/null +++ b/build.specials.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6bf09f9d7fac386908241f727ba045badb2e81887855929df23b719009caac00 +size 256 diff --git a/perl-File-Map.changes b/perl-File-Map.changes index 1202052..6ed37e6 100644 --- a/perl-File-Map.changes +++ b/perl-File-Map.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 14 12:39:46 UTC 2025 - Tina Müller + +- Normalize CPAN version + See https://github.com/openSUSE/cpanspec/issues/47 for details + ------------------------------------------------------------------- Tue Apr 11 03:07:49 UTC 2023 - Tina Müller diff --git a/perl-File-Map.spec b/perl-File-Map.spec index f0693ad..5bf60e0 100644 --- a/perl-File-Map.spec +++ b/perl-File-Map.spec @@ -1,7 +1,7 @@ # # spec file for package perl-File-Map # -# Copyright (c) 2023 SUSE LLC +# 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 @@ -18,41 +18,46 @@ %define cpan_name File-Map Name: perl-File-Map -Version: 0.71 +Version: 0.710.0 Release: 0 +# 0.71 -> normalize -> 0.710.0 +%define cpan_version 0.71 License: Artistic-1.0 OR GPL-1.0-or-later Summary: Memory mapping made simple and safe URL: https://metacpan.org/release/%{cpan_name} -Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{cpan_version}.tar.gz Source1: cpanspec.yml +Source100: README.md BuildRequires: perl BuildRequires: perl-macros -BuildRequires: perl(Module::Build) >= 0.280000 -BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001005 +BuildRequires: perl(Module::Build) >= 0.280 +BuildRequires: perl(Sub::Exporter::Progressive) >= 0.1.5 BuildRequires: perl(Test::Fatal) -BuildRequires: perl(Test::Warnings) >= 0.005 -Requires: perl(Sub::Exporter::Progressive) >= 0.001005 +BuildRequires: perl(Test::Warnings) >= 0.5 +Requires: perl(Sub::Exporter::Progressive) >= 0.1.5 +Provides: perl(File::Map) = %{version} +%undefine __perllib_provides %{perl_requires} %description File::Map maps files or anonymous memory into perl variables. %prep -%autosetup -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{cpan_version} -p1 %build -perl Build.PL installdirs=vendor optimize="%{optflags}" -./Build build flags=%{?_smp_mflags} +perl Build.PL --installdirs=vendor optimize="%{optflags}" +./Build build --flags=%{?_smp_mflags} %check ./Build test %install -./Build install destdir=%{buildroot} create_packlist=0 +./Build install --destdir=%{buildroot} --create_packlist=0 %perl_gen_filelist %files -f %{name}.files -%doc Changes examples metamerge.yml README +%doc Changes examples README %license LICENSE %changelog