[perl-XML-Stream] 1.23 bump and some cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 1adb6bfaff3b08303a834b9c51d9146a6e7a9ce9
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Thu Jan 26 15:46:43 2012 +0100

    1.23 bump and some cleanup

 .gitignore           |    1 +
 perl-XML-Stream.spec |   57 ++++++++++++++++++++++----------------------------
 sources              |    2 +-
 3 files changed, 27 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 63c2c82..40b6691 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 XML-Stream-1.22.tar.gz
+/XML-Stream-1.23.tar.gz
diff --git a/perl-XML-Stream.spec b/perl-XML-Stream.spec
index 99629a6..5cdbcd4 100644
--- a/perl-XML-Stream.spec
+++ b/perl-XML-Stream.spec
@@ -1,6 +1,6 @@
 Name:           perl-XML-Stream
-Version:        1.22 
-Release:        17%{?dist}
+Version:        1.23
+Release:        1%{?dist}
 Summary:        XML::Stream - streaming XML library
 
 Group:          Development/Libraries
@@ -8,21 +8,26 @@ 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 
 Source1:        LICENSING.correspondance
-Patch0:         tests.patch
-BuildArch:      noarch 
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
-
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(threads)
+BuildRequires:  perl(threads::shared)
+BuildRequires:  perl(Authen::SASL)
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Exporter)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(HTTP::ProxyAutoConfig)
+BuildRequires:  perl(IO::Select)
+BuildRequires:  perl(IO::Socket)
 BuildRequires:  perl(IO::Socket::SSL)
-BuildRequires:  perl(Net::DNS)
-BuildRequires:  perl(Authen::SASL)
 BuildRequires:  perl(MIME::Base64)
-        
+BuildRequires:  perl(Net::DNS)
+BuildRequires:  perl(Test::Builder)
+BuildRequires:  perl(Test::More)
 Requires:       perl(IO::Socket::SSL)
 Requires:       perl(Net::DNS)
-# also pulled in via a 'requires' construct; but not yet in Fedora
-#Requires:       perl(HTTP::ProxyAutoConfig)
+Requires:       perl(HTTP::ProxyAutoConfig)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 
 %description
 This module provides the user with methods to connect to a remote server, 
@@ -43,46 +48,34 @@ look at the detailed description at the end of the file.
 
 %prep
 %setup -q -n XML-Stream-%{version}
-%patch0
-
 cp %{SOURCE1} .
 
-# generate our other two licenses...
-perldoc perlgpl      > LICENSE.GPL
-perldoc perlartistic > LICENSE.Artistic
-
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
-
 %install
-rm -rf %{buildroot}
 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 ';'
-
 %{_fixperms} %{buildroot}/*
 
-
 %check
 %{?_with_network_tests: make test}
-
 rm -rf t/lib
 
-%clean
-rm -rf %{buildroot}
-
-
 %files
-%defattr(-,root,root,-)
-%doc CHANGES README INFO LICENSE.* LICENSING* t/
+%doc CHANGES README INFO LICENSING* t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
-
 %changelog
+* Mon Jan 23 2012 Petr Šabata <contyk@xxxxxxxxxx> - 1.23-1
+- 1.23 bump
+- Spec cleanup
+- Removing the unneeded tests patch
+- We are noarch, removing optflags
+
 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 1.22-17
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
diff --git a/sources b/sources
index 29b3445..878f2e2 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-ae09400fac17eaea4c9b12283db06881  XML-Stream-1.22.tar.gz
+1c0908384fe57a1c3c529071a8b882af  XML-Stream-1.23.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux