forked from pool/perl-Modern-Perl
- updated to 1.20120130
- fixed t/year_imports.t for 5.10 (ANDK and sprout again) - fixed t/regressions.t for 5.10 - made raw numbers work in import - fixed for Perl 5.15.5 and later (ANDK and sprout) - loaded IO::File/IO::Handle to allow methods on lexical filehandles - added unimporting - removed use of autodie; moved it to a distribution prerequisite - enabled unicode_strings by default when your Perl supports it - migrated to Dist::Zilla - added autodie dependency/import OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Modern-Perl?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
4eaa24ec6b
commit
990016e906
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:40bf555afc6c679be1a5514677665f8853594bcf8de1a63b0a28ad39de3edf89
|
|
||||||
size 2995
|
|
3
Modern-Perl-1.20120130.tar.gz
Normal file
3
Modern-Perl-1.20120130.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ed2bc4fb3c6e148a5c081a35689a59a2cfc7213a78dddf2a681ddc7e0c0ec31d
|
||||||
|
size 12384
|
@@ -1,3 +1,18 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 20 10:48:53 UTC 2012 - coolo@suse.com
|
||||||
|
|
||||||
|
- updated to 1.20120130
|
||||||
|
- fixed t/year_imports.t for 5.10 (ANDK and sprout again)
|
||||||
|
- fixed t/regressions.t for 5.10
|
||||||
|
- made raw numbers work in import
|
||||||
|
- fixed for Perl 5.15.5 and later (ANDK and sprout)
|
||||||
|
- loaded IO::File/IO::Handle to allow methods on lexical filehandles
|
||||||
|
- added unimporting
|
||||||
|
- removed use of autodie; moved it to a distribution prerequisite
|
||||||
|
- enabled unicode_strings by default when your Perl supports it
|
||||||
|
- migrated to Dist::Zilla
|
||||||
|
- added autodie dependency/import
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Nov 18 11:09:27 UTC 2011 - coolo@suse.com
|
Fri Nov 18 11:09:27 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package perl-Modern-Perl
|
# spec file for package perl-Modern-Perl
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,26 +16,32 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Modern-Perl
|
Name: perl-Modern-Perl
|
||||||
Version: 1.03
|
Version: 1.20120130
|
||||||
Release: 1
|
Release: 0
|
||||||
License: GPL-1.0+ or Artistic-1.0
|
|
||||||
%define cpan_name Modern-Perl
|
%define cpan_name Modern-Perl
|
||||||
Summary: enable all of the features of Modern Perl with one command
|
Summary: enable all of the features of Modern Perl with one import
|
||||||
Url: http://search.cpan.org/dist/Modern-Perl/
|
License: Artistic-1.0 or GPL-1.0+
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
#Source: http://www.cpan.org/authors/id/C/CH/CHROMATIC/Modern-Perl-%{version}.tar.gz
|
Url: http://search.cpan.org/dist/Modern-Perl/
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Source: http://www.cpan.org/authors/id/C/CH/CHROMATIC/%{cpan_name}-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Module::Build)
|
BuildRequires: perl(Module::Build) >= 0.3601
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: perl(Test::More) >= 0.98
|
||||||
BuildArch: noarch
|
BuildRequires: perl(autodie) >= 2.10
|
||||||
|
BuildRequires: perl(feature)
|
||||||
|
BuildRequires: perl(mro)
|
||||||
|
#BuildRequires: perl(Modern::Perl) >= 2010
|
||||||
|
Requires: perl(autodie) >= 2.10
|
||||||
|
Requires: perl(feature)
|
||||||
|
Requires: perl(mro)
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
sorry, no description found
|
enable all of the features of Modern Perl with one import
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
@@ -51,11 +57,8 @@ sorry, no description found
|
|||||||
./Build install destdir=%{buildroot} create_packlist=0
|
./Build install destdir=%{buildroot} create_packlist=0
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%clean
|
|
||||||
%{__rm} -rf %{buildroot}
|
|
||||||
|
|
||||||
%files -f %{name}.files
|
%files -f %{name}.files
|
||||||
%defattr(644,root,root,755)
|
%defattr(-,root,root,755)
|
||||||
%doc Changes README
|
%doc Changes LICENSE README
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user