forked from pool/perl-File-Map
see /usr/share/doc/packages/perl-File-Map/Changes 0.64 2015-07-13 12:50:12+02:00 Europe/Amsterdam Fix segfault in empty mappings Skip tainting tests on non-tainting perls 0.63 2014-09-12 18:27:17+02:00 Europe/Amsterdam Fix error message on unknown protect mode 0.62 2014-08-16 14:34:48+02:00 Europe/Amsterdam Reuse perl's reentrant API Skip setlocale on android 0.61 2013-10-04 21:36:19 Europe/Amsterdam Improve 64 bit pointer logic on Windows 0.60 2013-08-11 01:20:06 Europe/Amsterdam Upgrade dependency to Test::Warnings 0.005 0.59 2013-08-09 11:04:45 Europe/Amsterdam Explicitly depend on Test::Warnings 0.004 0.58 2013-08-08 23:18:15 Europe/Amsterdam Converted from Test::Exception to Test::Fatal Converted Test::Warn and Test::NoWarnings to Test::Warnings OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Map?expand=0&rev=2
63 lines
2.0 KiB
RPMSpec
63 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package perl-File-Map
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# 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/
|
|
#
|
|
|
|
|
|
Name: perl-File-Map
|
|
Version: 0.64
|
|
Release: 0
|
|
%define cpan_name File-Map
|
|
Summary: Memory mapping made simple and safe
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
Group: Development/Libraries/Perl
|
|
Url: http://search.cpan.org/dist/File-Map/
|
|
Source0: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz
|
|
Source1: cpanspec.yml
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
BuildRequires: perl(Module::Build) >= 0.280000
|
|
BuildRequires: perl(PerlIO::Layers)
|
|
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001005
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::Warnings) >= 0.005
|
|
Requires: perl(PerlIO::Layers)
|
|
Requires: perl(Sub::Exporter::Progressive) >= 0.001005
|
|
%{perl_requires}
|
|
|
|
%description
|
|
File::Map maps files or anonymous memory into perl variables.
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
|
|
./Build build flags=%{?_smp_mflags}
|
|
|
|
%check
|
|
./Build test
|
|
|
|
%install
|
|
./Build install destdir=%{buildroot} create_packlist=0
|
|
%perl_gen_filelist
|
|
|
|
%files -f %{name}.files
|
|
%defattr(-,root,root,755)
|
|
%doc Changes examples LICENSE README
|
|
|
|
%changelog
|