diff --git a/.perl-Exporter.metadata b/.perl-Exporter.metadata new file mode 100644 index 0000000..d543c2c --- /dev/null +++ b/.perl-Exporter.metadata @@ -0,0 +1 @@ +d739c4e4e9a218211ddf3235a41bb404563e4b05 SOURCES/Exporter-5.68.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Exporter.spec b/SPECS/perl-Exporter.spec new file mode 100644 index 0000000..d87340d --- /dev/null +++ b/SPECS/perl-Exporter.spec @@ -0,0 +1,62 @@ +Name: perl-Exporter +Version: 5.68 +Release: 2%{?dist} +Summary: Implements default import method for modules +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Exporter/ +Source0: http://www.cpan.org/authors/id/T/TO/TODDR/Exporter-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(Carp) >= 1.05 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests: +BuildRequires: perl(Test::More) +BuildRequires: perl(vars) +%if !%{defined perl_bootstrap} +# Optional tests: +BuildRequires: perl(Test::Pod) >= 1.18 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) >= 1.05 +Requires: perl(warnings) + +%description +The Exporter module implements an import method which allows a module to +export functions and variables to its users' name spaces. Many modules use +Exporter rather than implementing their own import method because Exporter +provides a highly flexible interface, with an implementation optimized for +the common case. + +%prep +%setup -q -n Exporter-%{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 {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jul 26 2013 Petr Pisar - 5.68-2 +- Specify all dependencies + +* Thu Mar 28 2013 Petr Pisar - 5.68-1 +- 5.68 bump + +* Fri Mar 22 2013 Petr Pisar 5.67-1 +- Specfile autogenerated by cpanspec 1.78.