commit 5423c80aa1d722ebf4a228d46ef78b6c8141a36a Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Fri Oct 4 16:13:50 2013 +0100 Update to 0.47 - New upstream release 0.47 - Fixed CPAN RT#38677: Intercept correctly 405 (Method now allowed) errors and report them to the clients - Fixed CPAN RT#68936: Fixed errors() method that would bomb out when the "_errors" attribute wasn't initialized - Fixed CPAN RT#69439: Insecure /tmp files handling in dave client - Added -tmpdir option to dave client - Reorganized distribution layout to match usual CPAN practice - Removed remains of svn-era ($Id and such...) - HTTP::DAV should now be working with more WebDAV servers - We are more flexible in what content types we consider to be XML - Drop %defattr, redundant since rpm 4.4 - Make %files list more explicit - Don't need to remove empty directories from the buildroot - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't use macros for commands - Explicitly set PERLDAV_TEST to 'default' for %check to avoid noisy warnings .gitignore | 3 +- perl-HTTP-DAV.spec | 64 +++++++++++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 46 insertions(+), 23 deletions(-) --- diff --git a/.gitignore b/.gitignore index cfad877..e5512ea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1 @@ -HTTP-DAV-0.40.tar.gz -/HTTP-DAV-0.42.tar.gz +/HTTP-DAV-[0-9.]*.tar.gz diff --git a/perl-HTTP-DAV.spec b/perl-HTTP-DAV.spec index 1a87302..6ff75b0 100644 --- a/perl-HTTP-DAV.spec +++ b/perl-HTTP-DAV.spec @@ -1,23 +1,27 @@ Name: perl-HTTP-DAV -Version: 0.42 -Release: 10%{?dist} +Version: 0.47 +Release: 1%{?dist} Summary: WebDAV client library for Perl5 License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/HTTP-DAV/ -Source0: http://www.cpan.org/authors/id/O/OP/OPERA/HTTP-DAV-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Source0: http://www.cpan.org/authors/id/C/CO/COSIMO/HTTP-DAV-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(AutoLoader) BuildRequires: perl(Cwd) BuildRequires: perl(Data::Dumper) BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Glob) +BuildRequires: perl(File::Temp) +BuildRequires: perl(Getopt::Long) BuildRequires: perl(HTTP::Date) BuildRequires: perl(HTTP::Headers) +BuildRequires: perl(HTTP::Request) BuildRequires: perl(HTTP::Response) -BuildRequires: perl(Getopt::Long) BuildRequires: perl(LWP) >= 5.48 +BuildRequires: perl(Pod::Parser) BuildRequires: perl(Pod::Usage) BuildRequires: perl(Scalar::Util) BuildRequires: perl(Term::ReadLine) @@ -26,8 +30,10 @@ BuildRequires: perl(Text::ParseWords) BuildRequires: perl(Time::Local) BuildRequires: perl(URI) BuildRequires: perl(URI::Escape) +BuildRequires: perl(URI::file) BuildRequires: perl(XML::DOM) -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(HTTP::Headers) %description HTTP::DAV is a Perl API for interacting with and modifying content on @@ -38,34 +44,52 @@ files and much more on a DAV-enabled web server. %setup -q -n HTTP-DAV-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - +make pure_install DESTDIR=$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/* +%{_fixperms} $RPM_BUILD_ROOT %check -make test +PERLDAV_TEST=default make test %clean rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README TODO %{_bindir}/dave -%{perl_vendorlib}/* -%{_mandir}/man3/* -%{_mandir}/man1/* +%{perl_vendorlib}/HTTP/ +%{_mandir}/man1/dave.1* +%{_mandir}/man3/HTTP::DAV.3pm* +%{_mandir}/man3/HTTP::DAV::Changes.3pm* +%{_mandir}/man3/HTTP::DAV::Lock.3pm* +%{_mandir}/man3/HTTP::DAV::Resource.3pm* +%{_mandir}/man3/HTTP::DAV::Response.3pm* %changelog +* Fri Oct 4 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.47-1 +- Update to 0.47 + - Fixed CPAN RT#38677: Intercept correctly 405 (Method now allowed) errors + and report them to the clients + - Fixed CPAN RT#68936: Fixed errors() method that would bomb out when the + "_errors" attribute wasn't initialized + - Fixed CPAN RT#69439: Insecure /tmp files handling in dave client + - Added -tmpdir option to dave client + - Reorganized distribution layout to match usual CPAN practice + - Removed remains of svn-era ($Id and such...) + - HTTP::DAV should now be working with more WebDAV servers + - We are more flexible in what content types we consider to be XML +- Drop %%defattr, redundant since rpm 4.4 +- Make %%files list more explicit +- Don't need to remove empty directories from the buildroot +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't use macros for commands +- Explicitly set PERLDAV_TEST to 'default' for %%check to avoid noisy warnings + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.42-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -98,7 +122,7 @@ rm -rf $RPM_BUILD_ROOT - Update to 0.42. * Fri Dec 17 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.40-3 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Tue Aug 24 2010 Adam Tkac <atkac redhat com> - 0.40-2 - rebuild diff --git a/sources b/sources index 36ebebe..dc501b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c6afd9c4fe3b722f4d11eb6f1f8bcef2 HTTP-DAV-0.42.tar.gz +6f27cc2f1b06bc4388fc9c4dbdb3cb46 HTTP-DAV-0.47.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