From 4459d6de213abd72863f295cf1dcf467ccb79d87 Mon Sep 17 00:00:00 2001 From: Tim Orling <ticot...@gmail.com> Date: Wed, 29 Jul 2015 21:29:23 -0700 Subject: Initial import (#1242724)
diff --git a/.gitignore b/.gitignore index e69de29..115ccd7 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/File-Find-Rule-Age-0.302.tar.gz diff --git a/perl-File-Find-Rule-Age.spec b/perl-File-Find-Rule-Age.spec new file mode 100644 index 0000000..8dcbde1 --- /dev/null +++ b/perl-File-Find-Rule-Age.spec @@ -0,0 +1,74 @@ +Name: perl-File-Find-Rule-Age +Version: 0.302 +Release: 3%{?dist} +Summary: Rule to match on file age +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/File-Find-Rule-Age/ +Source0: http://www.cpan.org/authors/id/R/RE/REHSACK/File-Find-Rule-Age-%{version}.tar.gz +BuildArch: noarch +# Build: +BuildRequires: make +BuildRequires: findutils +BuildRequires: coreutils +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(DateTime) >= 0.42 +BuildRequires: perl(File::Find::Rule) >= 0.30 +BuildRequires: perl(File::stat) +BuildRequires: perl(Params::Util) >= 0.37 +# Tests: +BuildRequires: perl(base) +BuildRequires: perl(Carp) +BuildRequires: perl(File::Spec) +BuildRequires: perl(File::Temp) +BuildRequires: perl(File::Touch) +BuildRequires: perl(FindBin) +BuildRequires: perl(Test::More) >= 0.9 +Requires: perl(DateTime) >= 0.42 +Requires: perl(File::Find::Rule) >= 0.30 +Requires: perl(Params::Util) >= 0.37 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%global __requires_exclude ^perl\\(DateTime|File::Find::Rule|Params::Util\\)$ + +%description +File::Find::Rule::Age makes it easy to search for files based on their age. +DateTime and File::stat are used to do the behind the scenes work, with +File::Find::Rule doing the Heavy Lifting. + +%prep +%setup -q -n File-Find-Rule-Age-%{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 Jul 28 2015 Tim Orling <ticot...@gmail.com> - 0.302-3 +- Additional cleanup per review (#1242724) + +* Mon Jul 27 2015 Tim Orling <ticot...@gmail.com> - 0.302-2 +- Add dependencies from META.json +- Cleanup spec file per review (#1242724) + +* Thu Apr 02 2015 Tim Orling <ticot...@gmail.com> - 0.302-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..94ae03f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +964107bbe81c1ad5e7d6f49f88bf6888 File-Find-Rule-Age-0.302.tar.gz -- cgit v0.10.2 http://pkgs.fedoraproject.org/cgit/perl-File-Find-Rule-Age.git/commit/?h=f21&id=4459d6de213abd72863f295cf1dcf467ccb79d87 -- 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