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

Contents of /rpms/perl-strictures/sme10/perl-strictures.spec

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


Revision 1.1 - (show annotations) (download)
Fri Dec 21 04:58:13 2018 UTC (5 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: perl-strictures-2_000001-1_el7_sme, perl-strictures-2_000001-1_of_el7, HEAD
import

1 Name: perl-strictures
2 Version: 2.000001
3 Release: 1%{?org_tag}%{?dist}
4 Summary: Turn on strict and make most warnings fatal
5 License: GPL+ or Artistic
6 Group: Development/Libraries
7 URL: http://search.cpan.org/dist/strictures/
8 Source0: http://localhost/cpan/authors/id/H/HA/HAARG/strictures-%{version}.tar.gz
9 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10 BuildArch: noarch
11 BuildRequires: perl >= 0:5.006
12 BuildRequires: perl(bareword::filehandles)
13 BuildRequires: perl(ExtUtils::MakeMaker)
14 BuildRequires: perl(indirect)
15 BuildRequires: perl(multidimensional)
16 BuildRequires: perl(Test::More)
17 Requires: perl(bareword::filehandles)
18 Requires: perl(indirect)
19 Requires: perl(multidimensional)
20 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
21 Autoreq: no
22
23 %description
24 I've been writing the equivalent of this module at the top of my code for
25 about a year now. I figured it was time to make it shorter.
26
27 %prep
28 %setup -q -n strictures-%{version}
29
30 %build
31 %{__perl} Makefile.PL INSTALLDIRS=vendor
32 make %{?_smp_mflags}
33
34 %install
35 rm -rf %{buildroot}
36
37 make pure_install PERL_INSTALL_ROOT=%{buildroot}
38
39 find %{buildroot} -type f -name .packlist -exec rm -f {} \;
40 find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
41
42 %{_fixperms} %{buildroot}/*
43
44 %check
45 make test
46
47 %clean
48 rm -rf %{buildroot}
49
50 %files
51 %defattr(-,root,root,-)
52 %doc Changes META.json README
53 %{perl_vendorlib}/*
54 %{_mandir}/man3/*
55
56 %changelog
57 * Wed Oct 28 2015 Gavin Carr <gavin@openfusion.com.au> 2.000001-1
58 - Specfile autogenerated by cpanspec 1.79.

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