[perl-XML-Stream] 1.24 bump

Petr Šabata psabata at fedoraproject.org
Fri Jan 2 15:35:47 UTC 2015


commit 3f4be4da4691f240da5e344e00c43a191a655837
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Jan 2 16:35:54 2015 +0100

    1.24 bump

 .gitignore           |    1 +
 perl-XML-Stream.spec |   38 +++++++++++++++++++++-----------------
 sources              |    2 +-
 tests.patch          |   11 -----------
 4 files changed, 23 insertions(+), 29 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 40b6691..badd128 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 XML-Stream-1.22.tar.gz
 /XML-Stream-1.23.tar.gz
+/XML-Stream-1.24.tar.gz
diff --git a/perl-XML-Stream.spec b/perl-XML-Stream.spec
index 808c71e..9744687 100644
--- a/perl-XML-Stream.spec
+++ b/perl-XML-Stream.spec
@@ -1,6 +1,6 @@
 Name:           perl-XML-Stream
-Version:        1.23
-Release:        9%{?dist}
+Version:        1.24
+Release:        1%{?dist}
 Summary:        XML::Stream - streaming XML library
 Group:          Development/Libraries
 License:        (GPL+ or Artistic) or LGPLv2+
@@ -8,36 +8,37 @@ URL:            http://search.cpan.org/dist/XML-Stream/
 Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAPATRICK/XML-Stream-%{version}.tar.gz
 Source1:        LICENSING.correspondance
 BuildArch:      noarch
+# Build
 BuildRequires:  perl
-BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
 %if 0%{?_with_network_tests}
+# Runtime
 BuildRequires:  perl(Authen::SASL)
 BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
-BuildRequires:  perl(Config)
 BuildRequires:  perl(Encode)
-BuildRequires:  perl(Exporter)
 BuildRequires:  perl(FileHandle)
 BuildRequires:  perl(HTTP::ProxyAutoConfig)
 BuildRequires:  perl(IO::Select)
 BuildRequires:  perl(IO::Socket)
 BuildRequires:  perl(IO::Socket::SSL)
-BuildRequires:  perl(lib)
 BuildRequires:  perl(MIME::Base64)
 BuildRequires:  perl(Module::Signature)
 BuildRequires:  perl(Net::DNS)
 BuildRequires:  perl(POSIX)
-BuildRequires:  perl(strict)
+BuildRequires:  perl(Scalar::Util)
 BuildRequires:  perl(Sys::Hostname)
-BuildRequires:  perl(threads)
-BuildRequires:  perl(threads::shared)
 BuildRequires:  perl(utf8)
 BuildRequires:  perl(vars)
-BuildRequires:  perl(warnings)
+# Tests only
+BuildRequires:  perl(Socket)
+BuildRequires:  perl(Test::More)
 %endif
+Requires:       perl(HTTP::ProxyAutoConfig)
 Requires:       perl(IO::Socket::SSL)
 Requires:       perl(Net::DNS)
-Requires:       perl(HTTP::ProxyAutoConfig)
 Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
@@ -62,24 +63,27 @@ look at the detailed description at the end of the file.
 cp %{SOURCE1} .
 
 %build
-perl Makefile.PL INSTALLDIRS=vendor
-make %{?_smp_mflags}
+perl ./Build.PL --installdirs=vendor
+./Build
 
 %install
-make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} +
+./Build install --destdir=%{buildroot} create_packlist=0
 %{_fixperms} %{buildroot}/*
 
 %check
-%{?_with_network_tests: make test}
+%{?_with_network_tests: ./Build test}
 rm -rf t/lib
 
 %files
-%doc CHANGES README INFO LICENSING* t/
+%license LICENSE LICENSING*
+%doc CHANGES README INFO
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Jan 02 2015 Petr Šabata <contyk at redhat.com> - 1.24-1
+- 1.24 bump
+
 * Wed Aug 27 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.23-9
 - Perl 5.20 rebuild
 
diff --git a/sources b/sources
index 878f2e2..f0d03e0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1c0908384fe57a1c3c529071a8b882af  XML-Stream-1.23.tar.gz
+62717494479cba3746bfeab73d2f955c  XML-Stream-1.24.tar.gz


More information about the scm-commits mailing list