diff --git a/HTTP-DAV-0.46.tar.gz b/HTTP-DAV-0.46.tar.gz deleted file mode 100644 index b9a5932..0000000 --- a/HTTP-DAV-0.46.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f5077e3796750bd46ca4d262e463090c36c6292e2ac99488608a72d88db1fc5b -size 109395 diff --git a/HTTP-DAV-0.47.tar.gz b/HTTP-DAV-0.47.tar.gz new file mode 100644 index 0000000..2a5f5b1 --- /dev/null +++ b/HTTP-DAV-0.47.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:30db3e3b55be32052bf724e2c09acf1b1a11ebf6c701261ef3f5ffe4ed2ab42a +size 109648 diff --git a/perl-HTTP-DAV.changes b/perl-HTTP-DAV.changes index 98dd492..d7c7fed 100644 --- a/perl-HTTP-DAV.changes +++ b/perl-HTTP-DAV.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Jun 5 07:24:55 UTC 2013 - coolo@suse.com + +- updated to 0.47 + Improve C resilience when server response contains + broken, truncated or no XML at all. RT#75011. + ------------------------------------------------------------------- Fri Jan 13 12:28:05 UTC 2012 - vcizek@suse.com diff --git a/perl-HTTP-DAV.spec b/perl-HTTP-DAV.spec index 2d8433f..eb6f8d4 100644 --- a/perl-HTTP-DAV.spec +++ b/perl-HTTP-DAV.spec @@ -1,7 +1,7 @@ # # spec file for package perl-HTTP-DAV # -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,25 +17,38 @@ Name: perl-HTTP-DAV -Version: 0.46 +Version: 0.47 Release: 0 %define cpan_name HTTP-DAV -Summary: WebDAV client library for Perl5 -License: GPL-1.0+ or Artistic-1.0 +Summary: A WebDAV client library for Perl5 +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/HTTP-DAV/ -#Source: http://www.cpan.org/modules/by-module/HTTP/HTTP-DAV-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source: http://www.cpan.org/authors/id/C/CO/COSIMO/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(LWP) >= 5.48 -BuildRequires: perl(Scalar::Util) +BuildRequires: perl(URI) +BuildRequires: perl(URI::Escape) BuildRequires: perl(XML::DOM) +#BuildRequires: perl(HTTP::Date) +#BuildRequires: perl(HTTP::DAV) +#BuildRequires: perl(HTTP::DAV::Comms) +#BuildRequires: perl(HTTP::DAV::Lock) +#BuildRequires: perl(HTTP::DAV::Resource) +#BuildRequires: perl(HTTP::DAV::ResourceList) +#BuildRequires: perl(HTTP::DAV::Response) +#BuildRequires: perl(HTTP::DAV::Utils) +#BuildRequires: perl(HTTP::Headers) +#BuildRequires: perl(HTTP::Response) +#BuildRequires: perl(TestDetails) +#BuildRequires: perl(URI::file) Requires: perl(LWP) >= 5.48 -Requires: perl(Scalar::Util) +Requires: perl(URI) +Requires: perl(URI::Escape) Requires: perl(XML::DOM) -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description @@ -45,32 +58,21 @@ files and much more on a DAV-enabled webserver. %prep %setup -q -n %{cpan_name}-%{version} -perl -p -i -e "s|\r\n|\n|" TODO -# to decrease rpmlint badness -chmod -x Changes README TODO %build -perl Makefile.PL INSTALLDIRS=vendor - -make %{?_smp_mflags} +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} %check -make test +%{__make} test %install %perl_make_install -# do not perl_process_packlist (noarch) -# remove .packlist file -rm -rf %{buildroot}%perl_vendorarch -# remove perllocal.pod file -rm -rf %{buildroot}%perl_archlib +%perl_process_packlist %perl_gen_filelist -%clean -rm -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README TODO +%defattr(-,root,root,755) +%doc Changes doc README TODO %changelog