/[smeserver]/rpms/perl-bareword-filehandles/sme10/perl-bareword-filehandles.spec
ViewVC logotype

Contents of /rpms/perl-bareword-filehandles/sme10/perl-bareword-filehandles.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Fri Dec 21 05:18:41 2018 UTC (5 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: perl-bareword-filehandles-0_003-1_of_el7
import

1 Name: perl-bareword-filehandles
2 Version: 0.003
3 Release: 1%{?org_tag}%{?dist}
4 Summary: Disables bareword filehandles
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/bareword-filehandles/
8 Source0: http://localhost/cpan//authors/id/I/IL/ILMARI/bareword-filehandles-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildRequires: perl >= 0:5.008001
11 BuildRequires: perl(B::Hooks::OP::Check)
12 BuildRequires: perl(ExtUtils::MakeMaker)
13 BuildRequires: perl(Lexical::SealRequireHints)
14 BuildRequires: perl(Test::More) >= 0.88
15 Requires: perl(B::Hooks::OP::Check)
16 Requires: perl(Lexical::SealRequireHints)
17 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18 Autoreq: no
19
20 %description
21 This module lexically disables the use of bareword filehandles with builtin
22 functions, except for the special builitin filehandles STDIN, STDOUT,
23 STDERR, ARGV, ARGVOUT and DATA.
24
25 %prep
26 %setup -q -n bareword-filehandles-%{version}
27
28 %build
29 %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
30 make %{?_smp_mflags}
31
32 %install
33 rm -rf %{buildroot}
34
35 make pure_install PERL_INSTALL_ROOT=%{buildroot}
36
37 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
38 find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} \;
39 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
40
41 %{_fixperms} %{buildroot}/*
42
43 %check
44 make test
45
46 %clean
47 rm -rf %{buildroot}
48
49 %files
50 %defattr(-,root,root,-)
51 %doc Changes dist.ini LICENSE README weaver.ini
52 %{perl_vendorarch}/auto/*
53 %{perl_vendorarch}/bareword*
54 %{_mandir}/man3/*
55
56 %changelog
57 * Sun Dec 11 2011 Gavin Carr <gavin@openfusion.com.au> 0.003-1
58 - Specfile autogenerated by cpanspec 1.79.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed