psabata pushed to perl-HTTP-DAV (f22). "0.48 bump (..more)"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Jun 12 14:47:27 UTC 2015


From 6460f82f2a77adedabf112d12b256039f67380a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Fri, 12 Jun 2015 16:46:38 +0200
Subject: 0.48 bump

- Modernize the SPEC
- Cut the dep list a bit; dave isn't tested at the moment

diff --git a/perl-HTTP-DAV.spec b/perl-HTTP-DAV.spec
index 684b570..5f9c6e8 100644
--- a/perl-HTTP-DAV.spec
+++ b/perl-HTTP-DAV.spec
@@ -1,39 +1,52 @@
 Name:           perl-HTTP-DAV
-Version:        0.47
-Release:        4%{?dist}
+Version:        0.48
+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/C/CO/COSIMO/HTTP-DAV-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 BuildArch:      noarch
-BuildRequires:  perl(AutoLoader)
+# Build
+BuildRequires:  make
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
+# Runtime
+# XXX: 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(FileHandle)
+# XXX: BuildRequires:  perl(Getopt::Long)
 BuildRequires:  perl(HTTP::Date)
 BuildRequires:  perl(HTTP::Headers)
 BuildRequires:  perl(HTTP::Request)
 BuildRequires:  perl(HTTP::Response)
 BuildRequires:  perl(LWP) >= 5.48
-BuildRequires:  perl(Pod::Parser)
-BuildRequires:  perl(Pod::Usage)
+# XXX: BuildRequires:  perl(Pod::Parser)
+# XXX: BuildRequires:  perl(Pod::Usage)
 BuildRequires:  perl(Scalar::Util)
-BuildRequires:  perl(Term::ReadLine)
-BuildRequires:  perl(Test::More)
-BuildRequires:  perl(Text::ParseWords)
+BuildRequires:  perl(strict)
+# XXX: BuildRequires:  perl(Term::ReadLine)
+# XXX: BuildRequires:  perl(Text::ParseWords)
 BuildRequires:  perl(Time::Local)
 BuildRequires:  perl(URI)
 BuildRequires:  perl(URI::Escape)
 BuildRequires:  perl(URI::file)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
 BuildRequires:  perl(XML::DOM)
-Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Tests only
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(Test)
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 Requires:       perl(HTTP::Headers)
+Requires:       perl(LWP) >= 5.48
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(LWP\\)$
 
 %description
 HTTP::DAV is a Perl API for interacting with and modifying content on
@@ -44,33 +57,29 @@ 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 NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make pure_install DESTDIR=$RPM_BUILD_ROOT
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-%{_fixperms} $RPM_BUILD_ROOT
+make pure_install DESTDIR=%{buildroot}
+%{_fixperms} %{buildroot}
 
 %check
 PERLDAV_TEST=default make test
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files
 %doc Changes README TODO
 %{_bindir}/dave
-%{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*
+%{perl_vendorlib}/*
+%{_mandir}/man1/*
+%{_mandir}/man3/*
 
 %changelog
+* Fri Jun 12 2015 Petr Ĺ abata <contyk at redhat.com> - 0.48-1
+- 0.48 bump
+- Modernize the SPEC
+- Cut the dep list a bit; dave isn't tested at the moment
+
 * Sat Jun 06 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.47-4
 - Perl 5.22 rebuild
 
diff --git a/sources b/sources
index dc501b9..ebbdf5c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-6f27cc2f1b06bc4388fc9c4dbdb3cb46  HTTP-DAV-0.47.tar.gz
+d58cccad5eab48782548958f71c2f0e1  HTTP-DAV-0.48.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-HTTP-DAV.git/commit/?h=f22&id=6460f82f2a77adedabf112d12b256039f67380a9


More information about the perl-devel mailing list