commit 454904d2a0e9df9391ee1dce83e6b7cb4aa2cc50 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Thu Mar 14 14:34:27 2013 +0100 Import .gitignore | 1 + perl-Module-Install-TestTarget.spec | 67 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1a85219 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Module-Install-TestTarget-0.19.tar.gz diff --git a/perl-Module-Install-TestTarget.spec b/perl-Module-Install-TestTarget.spec new file mode 100644 index 0000000..8257a23 --- /dev/null +++ b/perl-Module-Install-TestTarget.spec @@ -0,0 +1,67 @@ +Name: perl-Module-Install-TestTarget +Version: 0.19 +Release: 1%{?dist} +Summary: Assembles custom test targets for make +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Module-Install-TestTarget/ +Source0: http://www.cpan.org/authors/id/X/XA/XAICRON/Module-Install-TestTarget-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(B::Deparse) +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(Module::Install) >= 1.00 +BuildRequires: perl(Module::Install::Base) +BuildRequires: perl(strict) +# Tests: +BuildRequires: perl(constant) +BuildRequires: perl(Cwd) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Path) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(inc::Module::Install) +BuildRequires: perl(lib) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::More) >= 0.96 +BuildRequires: perl(Test::Requires) +BuildRequires: perl(warnings) +# Optional tests: +BuildRequires: perl(Module::Install::ExtraTests) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Module::Install) >= 1.00 +Requires: perl(B::Deparse) + +%description +Module::Install::TestTarget creates make test variations with code +snippets. This helps module developers to test their distributions with +various conditions. + +%prep +%setup -q -n Module-Install-TestTarget-%{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 +* Tue Mar 12 2013 Petr Pisar <ppisar@xxxxxxxxxx> 0.19-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ed3bd42 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3880d4cb40337daaff45e86fd955dcc3 Module-Install-TestTarget-0.19.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel