# # spec file for package perl-bareword-filehandles # # Copyright (c) 2017 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-bareword-filehandles Version: 0.005 Release: 8.15 %define cpan_name bareword-filehandles Summary: Disables Bareword Filehandles License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/bareword-filehandles/ Source0: https://cpan.metacpan.org/authors/id/I/IL/ILMARI/%{cpan_name}-%{version}.tar.gz Source1: cpanspec.yml BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(B::Hooks::OP::Check) BuildRequires: perl(ExtUtils::Depends) BuildRequires: perl(Lexical::SealRequireHints) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(B::Hooks::OP::Check) Requires: perl(Lexical::SealRequireHints) %{perl_requires} %description This module lexically disables the use of bareword filehandles with builtin functions, except for the special builtin filehandles 'STDIN', 'STDOUT', 'STDERR', 'ARGV', 'ARGVOUT' and 'DATA'. %prep %setup -q -n %{cpan_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README %license LICENSE %changelog * Fri Apr 21 2017 coolo@suse.com - updated to 0.005 see /usr/share/doc/packages/perl-bareword-filehandles/Changes 0.005 2017-04-20 16:27:24+01:00 Europe/London - Switch to Dist::Zilla::PluginBundle::Starter and ::Plugin::DymamicPrereqs - Use Devel::PPPort insted of hand-rolled compat macros * Mon May 23 2016 coolo@suse.com - updated to 0.004 see /usr/share/doc/packages/perl-bareword-filehandles/Changes 0.004 2016-05-16 19:18:36+01:00 Europe/London - fix POD typo (RT#76421) - Use "bareword::filehandles/disabled" as the hint hash key - Fix building on -DPERL_OP_PARENT perls (RT#114394) * Mon Feb 24 2014 coolo@suse.com - initial package 0.003 * created by cpanspec 1.78.07