8
0
forked from pool/perl-File-Map

1 Commits

5 changed files with 43 additions and 12 deletions

12
README.md Normal file
View File

@@ -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)

5
_scmsync.obsinfo Normal file
View File

@@ -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

3
build.specials.obscpio Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6bf09f9d7fac386908241f727ba045badb2e81887855929df23b719009caac00
size 256

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Oct 14 12:39:46 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Tue Apr 11 03:07:49 UTC 2023 - Tina Müller <timueller+perl@suse.de>

View File

@@ -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