>From 4be92f62c1d18518dd84ff8f9c2c5b6fae96e00b Mon Sep 17 00:00:00 2001 From: Chris Weyl <cw...@fedoraproject.org> Date: Fri, 30 Jun 2006 01:19:58 +0000 Subject: auto-import perl-List-Compare-0.33-0.fc5 on branch devel from perl-List-Compare-0.33-0.fc5.src.rpm
diff --git a/.cvsignore b/.cvsignore index e69de29..0ccdc2f 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +List-Compare-0.33.tar.gz diff --git a/perl-List-Compare.spec b/perl-List-Compare.spec new file mode 100644 index 0000000..ebdd72f --- /dev/null +++ b/perl-List-Compare.spec @@ -0,0 +1,57 @@ +Name: perl-List-Compare +Version: 0.33 +Release: 0%{?dist} +Summary: Compare elements of two or more lists + +Group: Development/Libraries +License: Artistic or GPL +URL: http://search.cpan.org/dist/List-Compare +Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKEENAN/List-Compare-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildArch: noarch +BuildRequires: perl +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Advanced functionality to compare members of two or more lists. + + +%prep +%setup -q -n List-Compare-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make pure_install PERL_INSTALL_ROOT=%{buildroot} +find %{buildroot} -type f -name .packlist -exec rm -f {} ';' +find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' +find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' +chmod -R u+w %{buildroot}/* + +# remove errant execute bit from the .pm's +find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null ';' + +%check +make test + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/*.3* + + +%changelog +* Thu Jun 29 2006 Chris Weyl <cw...@alumni.drew.edu> 0.33-0 +- Initial spec file for F-E diff --git a/sources b/sources index e69de29..3d4a5fe 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +205677fa8e207afedbf800673a3c14de List-Compare-0.33.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-List-Compare.git/commit/?h=el6&id=4be92f62c1d18518dd84ff8f9c2c5b6fae96e00b -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/perl-devel