Name: perl-File-FcntlLock Version: 0.12 Release: 11%{?dist}.art Summary: Perl module for file locking with fcntl Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/File-FcntlLock/ Source0: http://search.cpan.org/CPAN/authors/id/J/JT/JTT/File-FcntlLock-%{version}.tar.gz BuildRequires: perl(POSIX), perl(Errno), perl(Carp), perl(Exporter), perl(DynaLoader) BuildRequires: perl(ExtUtils::MakeMaker), perl(Config) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description FcntlLock is a module to do file locking in an object oriented fashion using the fcntl(2) system call. This allows locks on parts of a file as well as on the whole file and overcomes some known problems with flock(2), on which Perl's flock() function is based. %prep %setup -q -n File-FcntlLock-%{version} %build CFLAGS="$RPM_OPT_FLAGS" %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install 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} -depth -type d -exec rmdir {} 2>/dev/null ';' chmod -R u+w %{buildroot}/* %check make test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorarch}/auto/* %{perl_vendorarch}/File/ %{_mandir}/man3/*.3pm* %changelog * Sat Jun 07 2014 Fedora Release Engineering - 0.12-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.12-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 0.12-9 - Perl 5.18 rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.12-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 0.12-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sun Jun 10 2012 Petr Pisar - 0.12-6 - Perl 5.16 rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jun 20 2011 Marcela Mašláňová - 0.12-4 - Perl mass rebuild * Tue Feb 08 2011 Fedora Release Engineering - 0.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Dec 16 2010 Marcela Maslanova - 0.12-2 - 661697 rebuild for fixing problems with vendorach/lib * Tue Jul 13 2010 Tom "spot" Callaway - 0.12-1 - initial package