Name: perl-File-Flock Version: 2008.01 Release: 6%{?dist} Summary: File locking with flock License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Flock/ Source0: http://www.cpan.org/authors/id/M/MU/MUIR/modules/File-Flock-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Lock files using the flock() call. If the file to be locked does not exist, then the file is created. If the file was created then it will be removed when it is unlocked assuming it's still an empty file. %prep %setup -q -n File-Flock-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT 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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc CHANGELOG README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008.01-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova <mmaslano@redhat.com> - 2008.01-5 - 661697 rebuild for fixing problems with vendorach/lib * Sat May 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 2008.01-4 - Mass rebuild with perl-5.12.0 * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 2008.01-3 - rebuild against perl 5.10.1 * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008.01-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Mon Dec 29 2008 Emmanuel Seyman <emmanuel.seyman@club-internet.fr> 2008.01-1 - Specfile autogenerated by cpanspec 1.77.