commit 688e949213baa2d6c93cc520e9cd24a11f18f504 Author: Xavier Bachelot <xavier@xxxxxxxxxxxx> Date: Tue Apr 22 22:21:21 2014 +0200 Initial import. .gitignore | 1 + perl-DB_File-Lock.spec | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 56 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..65f3938 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/DB_File-Lock-0.05.tar.gz diff --git a/perl-DB_File-Lock.spec b/perl-DB_File-Lock.spec new file mode 100644 index 0000000..4c0a79d --- /dev/null +++ b/perl-DB_File-Lock.spec @@ -0,0 +1,54 @@ +Name: perl-DB_File-Lock +Version: 0.05 +Release: 2%{?dist} +Summary: Locking with flock wrapper for DB_File +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/DB_File-Lock/ +Source0: http://www.cpan.org/modules/by-module/DB_File/DB_File-Lock-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) +BuildRequires: perl(DB_File) +BuildRequires: perl(Fcntl) +BuildRequires: perl(Symbol) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + + +%description +This module provides a wrapper for the DB_File module, adding locking. + + +%prep +%setup -q -n DB_File-Lock-%{version} + + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + + +%install +make pure_install PERL_INSTALL_ROOT=$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 Apr 22 2014 Xavier Bachelot <xavier@xxxxxxxxxxxx> 0.05-2 +- Package review cleanups. + +* Thu Apr 17 2014 Xavier Bachelot <xavier@xxxxxxxxxxxx> 0.05-1 +- Initial release. diff --git a/sources b/sources index e69de29..17d2f49 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8be62f30cd8b395b870b492c981d223b DB_File-Lock-0.05.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel