commit fc3ced32f0321e174efdfadd7b6d61874fe5b9f3 Author: Petr PÃsaÅ <ppisar@xxxxxxxxxx> Date: Mon Mar 28 16:05:26 2011 +0200 Import .gitignore | 1 + perl-Perl-Critic-PetPeeves-JTRAMMELL.spec | 48 +++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..6d79514 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Perl-Critic-PetPeeves-JTRAMMELL-0.01.tar.gz diff --git a/perl-Perl-Critic-PetPeeves-JTRAMMELL.spec b/perl-Perl-Critic-PetPeeves-JTRAMMELL.spec new file mode 100644 index 0000000..b29b45d --- /dev/null +++ b/perl-Perl-Critic-PetPeeves-JTRAMMELL.spec @@ -0,0 +1,48 @@ +Name: perl-Perl-Critic-PetPeeves-JTRAMMELL +Version: 0.01 +Release: 1%{?dist} +Summary: Policies to prohibit/require my pet peeves +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Perl-Critic-PetPeeves-JTRAMMELL/ +Source0: http://www.cpan.org/authors/id/J/JT/JTRAMMELL/Perl-Critic-PetPeeves-JTRAMMELL-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Module::Build) +BuildRequires: perl(Perl::Critic::Utils) +# Tests only: +BuildRequires: perl(Perl::Critic::Config) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.14 +BuildRequires: perl(Test::Pod::Coverage) >= 1.04 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Module Perl::Critic::PetPeeves::JTRAMMELL provides policies that I want +that haven't already been implemented elsewhere. + +%prep +%setup -q -n Perl-Critic-PetPeeves-JTRAMMELL-%{version} + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +./Build test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Jan 26 2011 Petr Pisar <ppisar@xxxxxxxxxx> 0.01-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove BuildRoot stuff diff --git a/sources b/sources index e69de29..328be8f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7273e6b416aae06966925350bbb536b1 Perl-Critic-PetPeeves-JTRAMMELL-0.01.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