initial import (rhbz#911911)

This commit is contained in:
Iain Arnell 2013-02-18 08:21:01 -07:00
parent a5fc85e95e
commit 9dde839ec3
3 changed files with 47 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/Import-Into-1.001000.tar.gz

45
perl-Import-Into.spec Normal file
View File

@ -0,0 +1,45 @@
Name: perl-Import-Into
Version: 1.001000
Release: 1%{?dist}
Summary: Import packages into other packages
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Import-Into/
Source0: http://www.cpan.org/authors/id/M/MS/MSTROUT/Import-Into-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
Loading Import::Into creates a global method import::into which you can call on
any package to import it into another package.
%prep
%setup -q -n Import-Into-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor --skipdeps
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%{_fixperms} %{buildroot}/*
%check
make test
%files
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Feb 16 2013 Iain Arnell <iarnell@gmail.com> 1.001000-1
- Specfile autogenerated by cpanspec 1.79.

View File

@ -0,0 +1 @@
84577f9469c5bf007c4537a67dda3813 Import-Into-1.001000.tar.gz