Name: perl-File-FindLib Version: 0.001004 Release: 1%{?dist} Summary: Find and use a file/directory from a directory above your script file License: Unlicense Group: Development/Libraries URL: http://search.cpan.org/dist/File-FindLib/ Source0: http://www.cpan.org/modules/by-module/File/File-FindLib-%{version}.tar.gz BuildArch: noarch BuildRequires: perl BuildRequires: perl(Exporter) BuildRequires: perl(File::Basename) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec::Functions) BuildRequires: perl(lib) BuildRequires: perl(strict) BuildRequires: perl(Test) BuildRequires: perl(warnings) BuildRequires: perl(vars) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description File::FindLib starts in the directory where your script (or library) is located and looks for the file or directory whose name you pass in. If it isn't found, then FindLib looks in the parent directory and continues moving up parent directories until it finds it or until there is not another parent directory. %prep %setup -q -n File-FindLib-%{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 %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Jul 30 2014 David Dick - 0.001004-1 - Initial release