[perl-Net-XMPP] 1.05 bump

Petr Šabata psabata at fedoraproject.org
Fri Jan 2 17:45:39 UTC 2015


commit 553a7e65ba483a2b2b034de600938c24eea0654b
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Jan 2 18:45:47 2015 +0100

    1.05 bump
    
    - Correct the license tag

 .gitignore         |    1 +
 perl-Net-XMPP.spec |   66 ++++++++++++++++++++++++++++++++-------------------
 sources            |    2 +-
 3 files changed, 43 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a31851f..0c158a3 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 Net-XMPP-1.02.tar.gz
+/Net-XMPP-1.05.tar.gz
diff --git a/perl-Net-XMPP.spec b/perl-Net-XMPP.spec
index c411b05..bbb702b 100644
--- a/perl-Net-XMPP.spec
+++ b/perl-Net-XMPP.spec
@@ -1,20 +1,40 @@
 Name:           perl-Net-XMPP
-Version:        1.02
-Release:        22%{?dist}
+Version:        1.05
+Release:        1%{?dist}
 Summary:        Net::XMPP - perl XMPP library
-
-Group:          Development/Libraries
-License:        (GPL+ or Artistic) or LGPLv2+
+License:        LGPLv2+
 URL:            http://search.cpan.org/dist/Net-XMPP/
-Source0:        http://search.cpan.org/CPAN/modules/by-module/Net/Net-XMPP-%{version}.tar.gz 
-
-BuildArch:      noarch 
+Source0:        http://search.cpan.org/CPAN/modules/by-module/Net/Net-XMPP-%{version}.tar.gz
+BuildArch:      noarch
+# Build
+BuildRequires:  perl
 BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Runtime
+BuildRequires:  perl(Authen::SASL) >= 2.12
+BuildRequires:  perl(base)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Digest::SHA)
+BuildRequires:  perl(FileHandle)
+BuildRequires:  perl(MIME::Base64)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Scalar::Util)
+BuildRequires:  perl(Time::Local)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(XML::Stream) >= 1.24
+# Tests only
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(lib)
+BuildRequires:  perl(LWP::Online)
 BuildRequires:  perl(Test::More)
-BuildRequires:  perl(XML::Stream)
-BuildRequires:  perl(Digest::SHA1)
-        
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:  perl(YAML::Tiny)
+Requires:  perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
+Requires:       perl(Authen::SASL) >= 2.12
+REquires:       perl(XML::Stream) >= 1.24
+
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(Authen::SASL\\)$
+%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(XML::Stream\\)$
 
 %description
 Net::XMPP provides a Perl user with access to the Extensible
@@ -27,33 +47,30 @@ For more information about XMPP visit:
 %prep
 %setup -q -n Net-XMPP-%{version}
 
-
 %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
-# this test seems to have issues with being unable to resolve the builder's
-# hostname inside mock.
-%{?!_with_network_tests: rm t/roster.t }
+# Cannot resolve hostnames in koji
+%{?!_with_network_tests: rm t/roster.t t/gtalk.t t/memory_*.t }
 ./Build test
 
-
 %files
-%doc README CHANGES examples/ LICENSE.* 
+%license LICENSE
+%doc README CHANGES examples
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Fri Jan 02 2015 Petr Šabata <contyk at redhat.com> - 1.05-1
+- 1.05 bump
+- Correct the license tag
+
 * Thu Sep 04 2014 Jitka Plesnikova <jplesnik at redhat.com> - 1.02-22
 - Perl 5.20 rebuild
 
@@ -143,4 +160,3 @@ find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
 
 * Fri May 12 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.0-1
 - first f-e spec.
-  
diff --git a/sources b/sources
index 2ef5f7f..78410a0 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-67cf40d3bbbe6740c21c856c79692fde  Net-XMPP-1.02.tar.gz
+6fdfeecde1b7eea1a24413e6557a97e2  Net-XMPP-1.05.tar.gz


More information about the scm-commits mailing list