rpms/perl-XML-Stream/F-8 perl-XML-Stream.spec,1.4,1.5

Chris Weyl cweyl at fedoraproject.org
Tue Jul 15 04:14:50 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-XML-Stream/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32104

Modified Files:
	perl-XML-Stream.spec 
Log Message:
* Mon Jul 14 2008 Chris Weyl <cweyl at alumni.drew.edu> 1.22-8
- add IO::Socket::SSL as a BR/R (see BZ#455344)
- also add Net::DNS
- make tests run if --with network-tests
- misc spec touchups



Index: perl-XML-Stream.spec
===================================================================
RCS file: /cvs/extras/rpms/perl-XML-Stream/F-8/perl-XML-Stream.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- perl-XML-Stream.spec	17 Oct 2007 04:55:06 -0000	1.4
+++ perl-XML-Stream.spec	15 Jul 2008 04:13:59 -0000	1.5
@@ -1,8 +1,6 @@
-# $Id$
-
 Name:           perl-XML-Stream
 Version:        1.22 
-Release:        6%{?dist}.1
+Release:        8%{?dist}
 Summary:        XML::Stream - streaming XML library
 
 Group:          Development/Libraries
@@ -11,13 +9,20 @@
 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(ExtUtils::MakeMaker)
-BuildRequires:  perl, perl(Authen::SASL), perl(MIME::Base64)
+BuildRequires:  perl(IO::Socket::SSL)
+BuildRequires:  perl(Net::DNS)
+BuildRequires:  perl(Authen::SASL)
+BuildRequires:  perl(MIME::Base64)
         
-Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+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)
 
 %description
 This module provides the user with methods to connect to a remote server, 
@@ -43,7 +48,7 @@
 cp %{SOURCE1} .
 
 # generate our other two licenses...
-perldoc perlgpl > LICENSE.GPL
+perldoc perlgpl      > LICENSE.GPL
 perldoc perlartistic > LICENSE.Artistic
 
 %build
@@ -54,16 +59,17 @@
 %install
 rm -rf %{buildroot}
 make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
 find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
 find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
-chmod -R u+w %{buildroot}/*
 
+%{_fixperms} %{buildroot}/*
 
-#%check
-# builders are (or may be) firewalled
-#make test
 
+%check
+%{?_with_network_tests: make test}
+
+rm -rf t/lib
 
 %clean
 rm -rf %{buildroot}
@@ -71,12 +77,21 @@
 
 %files
 %defattr(-,root,root,-)
-%doc CHANGES README INFO LICENSE.* LICENSING*
+%doc CHANGES README INFO LICENSE.* LICENSING* t/
 %{perl_vendorlib}/*
 %{_mandir}/man3/*.3*
 
 
 %changelog
+* Mon Jul 14 2008 Chris Weyl <cweyl at alumni.drew.edu> 1.22-8
+- add IO::Socket::SSL as a BR/R (see BZ#455344)
+- also add Net::DNS
+- make tests run if --with network-tests
+- misc spec touchups
+
+* Thu Feb  7 2008 Tom "spot" Callaway <tcallawa at redhat.com> 1.22-7
+- rebuild for new perl
+
 * Wed Oct 17 2007 Tom "spot" Callaway <tcallawa at redhat.com> 1.22-6.1
 - correct license tag
 - add BR: perl(ExtUtils::MakeMaker)




More information about the Fedora-perl-devel-list mailing list