Ralf Corsepius wrote:
On Mon, 2008-03-10 at 18:04 +0000, Robert H. Rati wrote:
Author: rrati
Update of /cvs/pkgs/rpms/perl-LWP-UserAgent-Determined/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10302/devel
Modified Files:
.cvsignore sources
Added Files:
perl-LWP-UserAgent-Determined.spec
Log Message:
Initial Packaging
--- NEW FILE perl-LWP-UserAgent-Determined.spec ---
Summary: A virtual browser that retries errors
Name: perl-LWP-UserAgent-Determined
Version: 1.03
Release: 1%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/%{pkg_name}/
Source0: http://www.cpan.org/authors/id/S/SB/SBURKE/LWP-UserAgent-Determined-%{version}.tar.gz
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(LWP::UserAgent)
%description
This class works just like LWP::UserAgent (and is based on it, by being a
subclass of it), except that when you use it to get a web page but run into
a possibly-temporary error (like a DNS lookup timeout), it'll wait a few
seconds and retry a few times.
%prep
%setup -q -n LWP-UserAgent-Determined-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
chmod -R u+w %{buildroot}/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ChangeLog README
%{perl_vendorlib}/LWP/UserAgent/Determined.pm
%{_mandir}/man3/LWP::UserAgent::Determined.3pm.gz
Another broken package: This package must own
%{perl_vendorlib}/LWP/ and all files+directories underneath
Ralf
The %{perl_vendorlib}/LWP/ directory is already owned by the
perl-libwww-perl package. Having this package own that directory and
all files below would cause a conflict with the perl-libwww-perl package
wouldn't it?
Rob
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
Fedora-perl-devel-list mailing list
Fedora-perl-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-perl-devel-list