commit 8d2b64896e7d169476f6813f3f1ee604c987446a Author: Petr Písař <ppi...@redhat.com> Date: Wed Jan 11 17:20:33 2012 +0100
Import .gitignore | 1 + perl-ExtUtils-Manifest.spec | 52 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..1b9e033 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/ExtUtils-Manifest-1.60.tar.gz diff --git a/perl-ExtUtils-Manifest.spec b/perl-ExtUtils-Manifest.spec new file mode 100644 index 0000000..b9f378e --- /dev/null +++ b/perl-ExtUtils-Manifest.spec @@ -0,0 +1,52 @@ +Name: perl-ExtUtils-Manifest +Version: 1.60 +Release: 1%{?dist} +Summary: Utilities to write and check a MANIFEST file +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/ExtUtils-Manifest/ +Source0: http://www.cpan.org/authors/id/F/FL/FLORA/ExtUtils-Manifest-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) >= 0.8 +# Tests: +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(File::Path) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(File::Path) +Requires: perl(File::Spec) >= 0.8 + +# Remove underspecified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(File::Spec\\)\\s*$ + +%description +%{summary}. + +%prep +%setup -q -n ExtUtils-Manifest-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$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 LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Nov 28 2011 Petr Pisar <ppi...@redhat.com> 1.60-1 +- Specfile autogenerated by cpanspec 1.78. +- Remove defattr and BuildRoot from spec code. diff --git a/sources b/sources index e69de29..ba4527e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0146485d2f730a3676d0058cd4bbdd02 ExtUtils-Manifest-1.60.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-de...@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel