[perl-strictures] initial import (rhbz#742742)

Iain Arnell iarnell at fedoraproject.org
Mon Oct 3 14:54:57 UTC 2011


commit d5eb1ef49137a7063b9e545b4e655c38e7ec9552
Author: Iain Arnell <iarnell at gmail.com>
Date:   Mon Oct 3 16:54:39 2011 +0200

    initial import (rhbz#742742)

 .gitignore           |    1 +
 perl-strictures.spec |   49 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..24532df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/strictures-1.002002.tar.gz
diff --git a/perl-strictures.spec b/perl-strictures.spec
new file mode 100644
index 0000000..a76c690
--- /dev/null
+++ b/perl-strictures.spec
@@ -0,0 +1,49 @@
+Name:           perl-strictures
+Version:        1.002002
+Release:        2%{?dist}
+Summary:        Turn on strict and make all warnings fatal
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/strictures/
+Source0:        http://www.cpan.org/authors/id/M/MS/MSTROUT/strictures-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%{?perl_default_filter}
+
+%description
+This package turns on strict and makes all warnings fatal.
+
+%prep
+%setup -q -n strictures-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install DESTDIR=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Sun Oct 02 2011 Iain Arnell <iarnell at gmail.com> 1.002002-2
+- better description
+
+* Sun Oct 02 2011 Iain Arnell <iarnell at gmail.com> 1.002002-1
+- Specfile autogenerated by cpanspec 1.79.
diff --git a/sources b/sources
index e69de29..8d7ce6d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+adf0840ec52cab21545a4903bdc2ee58  strictures-1.002002.tar.gz


More information about the scm-commits mailing list