rpms/perl-XML-Stream/devel perl-XML-Stream.spec,1.5,1.6
Chris Weyl (cweyl)
fedora-extras-commits at redhat.com
Tue Jul 15 04:08:22 UTC 2008
Author: cweyl
Update of /cvs/extras/rpms/perl-XML-Stream/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30759
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/devel/perl-XML-Stream.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- perl-XML-Stream.spec 8 Feb 2008 01:19:10 -0000 1.5
+++ perl-XML-Stream.spec 15 Jul 2008 04:07:28 -0000 1.6
@@ -1,8 +1,6 @@
-# $Id$
-
Name: perl-XML-Stream
Version: 1.22
-Release: 7%{?dist}
+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,18 @@
%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
More information about the scm-commits
mailing list