8
0
forked from pool/perl-HTTP-DAV

Accepting request 177680 from devel:languages:perl

update (forwarded request 177649 from coolo)

OBS-URL: https://build.opensuse.org/request/show/177680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-HTTP-DAV?expand=0&rev=30
This commit is contained in:
Stephan Kulow
2013-06-06 13:26:10 +00:00
committed by Git OBS Bridge
4 changed files with 39 additions and 30 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5077e3796750bd46ca4d262e463090c36c6292e2ac99488608a72d88db1fc5b
size 109395

3
HTTP-DAV-0.47.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30db3e3b55be32052bf724e2c09acf1b1a11ebf6c701261ef3f5ffe4ed2ab42a
size 109648

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Jun 5 07:24:55 UTC 2013 - coolo@suse.com
- updated to 0.47
Improve C<propfind()> 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

View File

@@ -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