From 2a6310161e7fbd53028057cd041557a316c1adea Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <[email protected]>
Date: Thu, 25 Jun 2015 11:40:28 +0200
Subject: 0.55 bump
diff --git a/.gitignore b/.gitignore
index 6830767..781cdaf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
Net-Stomp-0.36.tar.gz
/Net-Stomp-0.42.tar.gz
/Net-Stomp-0.45.tar.gz
+/Net-Stomp-0.55.tar.gz
diff --git a/perl-Net-Stomp.spec b/perl-Net-Stomp.spec
index ecc5e54..ab0d0a2 100644
--- a/perl-Net-Stomp.spec
+++ b/perl-Net-Stomp.spec
@@ -1,19 +1,41 @@
Name: perl-Net-Stomp
-Version: 0.45
-Release: 5%{?dist}
+Version: 0.55
+Release: 1%{?dist}
Summary: Stomp client module for Perl
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Net-Stomp/
-Source0:
http://search.cpan.org/CPAN/authors/id/J/JT/JTANG/Net-Stomp-%{version}.tar.gz
+Source0:
http://search.cpan.org/CPAN/authors/id/D/DA/DAKKAR/Net-Stomp-%{version}.tar.gz
BuildArch: noarch
+BuildRequires: perl
+BuildRequires: perl(Config)
+BuildRequires: perl(Module::Build) >= 0.42
+BuildRequires: perl(strict)
+BuildRequires: perl(warnings)
+BuildRequires: sed
+# Run-time:
+BuildRequires: perl(base)
+BuildRequires: perl(Carp)
BuildRequires: perl(Class::Accessor::Fast)
-BuildRequires: perl(Module::Build)
-BuildRequires: perl(Test::Pod::Coverage)
-BuildRequires: perl(Test::Pod)
-Requires: perl(Class::Accessor::Fast)
-Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
-
+BuildRequires: perl(IO::Select)
+# Prefer IO::Socket::IP over IO::Socket::INET
+# IO::Socket::IP 0.20 not used at tests
+# Socket not used at tests
+# Optional run-time:
+# IO::Socket::SSL 1.75 not used at tests
+# Tests:
+BuildRequires: perl(lib)
+BuildRequires: perl(Test::Deep)
+BuildRequires: perl(Test::Fatal)
+BuildRequires: perl(Test::More)
+# Optional tests:
+BuildRequires: perl(Test::Pod::Coverage) >= 1.04
+BuildRequires: perl(Test::Pod) >= 1.14
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+# Prefer IO::Socket::IP over IO::Socket::INET
+Requires: perl(IO::Socket::IP) >= 0.20
+Requires: perl(Socket)
+# Keep IO::Socket::SSL optional
%description
This module allows you to write a Stomp client. Stomp, the Streaming Text
@@ -23,36 +45,32 @@ for working with Message Orientated Middleware.
Net::Stomp can be used to communicate with Apache ActiveMQ, an
enterprise-level Java Message Service 1.1 (JMS) message broker.
-
%prep
%setup -q -n Net-Stomp-%{version}
# Perl interpreter path
-%{__sed} -i -e 's~^#!perl~#!%{__perl}~' examples/*.pl
+sed -i -e 's~^#!perl~%(perl -MConfig -e 'print $Config{startperl}')~'
examples/*.pl
%build
-%{__perl} Build.PL installdirs=vendor
+perl Build.PL installdirs=vendor
./Build
-
%install
./Build install destdir=%{buildroot} create_packlist=0
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
-
%{_fixperms} %{buildroot}/*
-
%check
./Build test
-
%files
-%doc CHANGES examples/
+%doc CHANGES examples README
%{perl_vendorlib}/*
%{_mandir}/man3/*
-
%changelog
+* Thu Jun 25 2015 Petr Pisar <[email protected]> - 0.55-1
+- 0.55 bump
+
* Thu Jun 18 2015 Fedora Release Engineering <[email protected]>
- 0.45-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
diff --git a/sources b/sources
index 352ab35..9919619 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-46d54de9e9adf1e20daeb19b12176075 Net-Stomp-0.45.tar.gz
+dace72bdd3b729344e5d455b69bef9c6 Net-Stomp-0.55.tar.gz
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-Net-Stomp.git/commit/?h=master&id=2a6310161e7fbd53028057cd041557a316c1adea
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel