commit c0aa2192018acb635c92906184e534e88b43b1e9 Author: Petr Písař <ppisar@xxxxxxxxxx> Date: Mon Jan 30 13:17:42 2012 +0100 1.15 bump .gitignore | 1 + perl-MogileFS-Client.spec | 47 ++++++++++++++++++++++++++------------------ sources | 2 +- 3 files changed, 30 insertions(+), 20 deletions(-) --- diff --git a/.gitignore b/.gitignore index e1a73ad..8597a5a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ MogileFS-Client-1.11.tar.gz /MogileFS-Client-1.14.tar.gz +/MogileFS-Client-1.15.tar.gz diff --git a/perl-MogileFS-Client.spec b/perl-MogileFS-Client.spec index 760af57..e29a136 100644 --- a/perl-MogileFS-Client.spec +++ b/perl-MogileFS-Client.spec @@ -1,20 +1,35 @@ -%global libname MogileFS-Client +%global cpan_name MogileFS-Client -Name: perl-%{libname} -Version: 1.14 -Release: 3%{?dist} +Name: perl-%{cpan_name} +Version: 1.15 +Release: 1%{?dist} Summary: Client library for the MogileFS distributed file system License: GPL+ or Artistic Group: Development/Libraries -URL: http://search.cpan.org/~bradfitz/%{libname}/ -Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/%{libname}-%{version}.tar.gz +URL: http://search.cpan.org/~bradfitz/%{cpan_name}/ +Source0: http://search.cpan.org/CPAN/authors/id/D/DO/DORMANDO/%{cpan_name}-%{version}.tar.gz BuildArch: noarch - -BuildRequires: perl(IO::WrapTie) -BuildRequires: perl(LWP::UserAgent) BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time +BuildRequires: perl(Carp) +BuildRequires: perl(Errno) +BuildRequires: perl(fields) +BuildRequires: perl(HTTP::Request) +BuildRequires: perl(HTTP::Status) +BuildRequires: perl(IO::Socket::INET) +BuildRequires: perl(IO::WrapTie) >= 2.102 +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(POSIX) +BuildRequires: perl(Socket) +BuildRequires: perl(Time::HiRes) +# Tests +BuildRequires: perl(LWP) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(IO::WrapTie) >= 2.102 + +# Remove under-specified dependencies +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(IO::WrapTie\\)$ %description This module is a client library for the MogileFS distributed file system. @@ -22,38 +37,32 @@ The class method 'new' creates a client object against a particular mogilefs tracker and domain. This object may then be used to store and retrieve content easily from MogileFS. - %prep -%setup -q -n %{libname}-%{version} - +%setup -q -n %{cpan_name}-%{version} %build %{__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} -depth -type d -exec rmdir {} 2>/dev/null \; - %{_fixperms} %{buildroot}/* - %check -rm t/10-basics.t make test - %files -%defattr(-,root,root,-) %doc CHANGES TODO %{perl_vendorlib}/MogileFS %{_mandir}/man3/MogileFS::Client.* %changelog +* Mon Jan 30 2012 Petr Pisar <ppisar@xxxxxxxxxx> - 1.15-1 +- 1.15 bump + * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.14-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild diff --git a/sources b/sources index b2b4265..eb43453 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -acfa5c3eea57a2f228f3f3535f36ddec MogileFS-Client-1.14.tar.gz +10255c1ed4d64cda88f75a7371ad2aa9 MogileFS-Client-1.15.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