[perl-XML-Stream] Correct the source URL

Petr Šabata psabata at fedoraproject.org
Fri Oct 11 04:33:58 UTC 2013


commit 256572f12e2bcfecf35c9f4fc3b9de9befc8f31c
Author: Petr Šabata <contyk at redhat.com>
Date:   Fri Oct 11 13:33:51 2013 +0900

    Correct the source URL
    
    - Fix the dependency list
    - Modernize the spec a bit

 perl-XML-Stream.spec |   41 ++++++++++++++++++++++++++++-------------
 1 files changed, 28 insertions(+), 13 deletions(-)
---
diff --git a/perl-XML-Stream.spec b/perl-XML-Stream.spec
index 39d5dd6..364aec2 100644
--- a/perl-XML-Stream.spec
+++ b/perl-XML-Stream.spec
@@ -1,33 +1,44 @@
 Name:           perl-XML-Stream
 Version:        1.23
-Release:        6%{?dist}
+Release:        7%{?dist}
 Summary:        XML::Stream - streaming XML library
-
 Group:          Development/Libraries
 License:        (GPL+ or Artistic) or LGPLv2+
 URL:            http://search.cpan.org/dist/XML-Stream/
-Source0:        http://search.cpan.org/CPAN/authors/id/R/RE/REATMON/XML-Stream-%{version}.tar.gz 
+Source0:        http://search.cpan.org/CPAN/authors/id/D/DA/DAPATRICK/XML-Stream-%{version}.tar.gz
 Source1:        LICENSING.correspondance
 BuildArch:      noarch
-BuildRequires:  perl(base)
-BuildRequires:  perl(threads)
-BuildRequires:  perl(threads::shared)
+BuildRequires:  perl
+BuildRequires:  perl(ExtUtils::MakeMaker)
+%if 0%{?_with_network_tests}
 BuildRequires:  perl(Authen::SASL)
+BuildRequires:  perl(base)
 BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Encode)
 BuildRequires:  perl(Exporter)
-BuildRequires:  perl(ExtUtils::MakeMaker)
+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(Test::Builder)
-BuildRequires:  perl(Test::More)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Sys::Hostname)
+BuildRequires:  perl(threads)
+BuildRequires:  perl(threads::shared)
+BuildRequires:  perl(utf8)
+BuildRequires:  perl(vars)
+BuildRequires:  perl(warnings)
+%endif
 Requires:       perl(IO::Socket::SSL)
 Requires:       perl(Net::DNS)
 Requires:       perl(HTTP::ProxyAutoConfig)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+Requires:       perl(:MODULE_COMPAT_%(eval "$(perl -V:version)"; echo $version))
 
 %description
 This module provides the user with methods to connect to a remote server, 
@@ -55,9 +66,8 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-make pure_install PERL_INSTALL_ROOT=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
@@ -70,6 +80,11 @@ rm -rf t/lib
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Oct 11 2013 Petr Šabata <contyk at redhat.com> - 1.23-7
+- Correct the source URL
+- Fix the dependency list
+- Modernize the spec a bit
+
 * Sun Aug 04 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.23-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 


More information about the scm-commits mailing list