rpms/perl-XML-Atom/F-11 enable-unicode-tests.patch, NONE, 1.1 perl-XML-Atom.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Iain Arnell iarnell at fedoraproject.org
Mon May 11 03:08:02 UTC 2009


Author: iarnell

Update of /cvs/pkgs/rpms/perl-XML-Atom/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20034/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	enable-unicode-tests.patch perl-XML-Atom.spec 
Log Message:
initial import

enable-unicode-tests.patch:

--- NEW FILE enable-unicode-tests.patch ---
diff -up XML-Atom-0.35/t/18-unicode.t.orig XML-Atom-0.35/t/18-unicode.t
--- XML-Atom-0.35/t/18-unicode.t.orig	2009-04-24 10:34:23.000000000 +0200
+++ XML-Atom-0.35/t/18-unicode.t	2009-05-10 12:36:10.000000000 +0200
@@ -3,7 +3,7 @@
 use strict;
 use encoding "utf-8";
 
-use Test::More skip_all => "Skipping Unicode test since it depends on LibXML";
+use Test::More tests => 14; # skip_all => "Skipping Unicode test since it depends on LibXML";
 use XML::Atom;
 use XML::Atom::Entry;
 use XML::Atom::Person;


--- NEW FILE perl-XML-Atom.spec ---
Name:           perl-XML-Atom
Version:        0.35
Release:        1%{?dist}
Summary:        Atom feed and API implementation
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/XML-Atom/
Source0:        http://www.cpan.org/authors/id/M/MI/MIYAGAWA/XML-Atom-%{version}.tar.gz
# enable unicode tests (we have LibXML)
Patch0:         enable-unicode-tests.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl >= 1:5.8.1
BuildRequires:  perl(Class::Data::Inheritable)
BuildRequires:  perl(DateTime)
BuildRequires:  perl(Digest::SHA1)
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(LWP::UserAgent)
BuildRequires:  perl(Test::More)
BuildRequires:  perl(URI)
BuildRequires:  perl(XML::LibXML) >= 1.64
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
# not automatically detected
Requires:       perl(Class::Data::Inheritable)
Requires:       perl(URI)
Requires:       perl(XML::LibXML) >= 1.64

%description
Atom is a syndication, API, and archiving format for weblogs and other
data. XML::Atom implements the feed format as well as a client for the API.

%prep
%setup -q -n XML-Atom-%{version}
%patch0 -p1

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT

make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*

%check
make test

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/*
%{_mandir}/man3/*

%changelog
* Sun May 10 2009 Iain Arnell 0.35-1
- Specfile autogenerated by cpanspec 1.77.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Atom/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	10 May 2009 19:22:53 -0000	1.1
+++ .cvsignore	11 May 2009 03:07:32 -0000	1.2
@@ -0,0 +1 @@
+XML-Atom-0.35.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Atom/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	10 May 2009 19:22:54 -0000	1.1
+++ sources	11 May 2009 03:07:32 -0000	1.2
@@ -0,0 +1 @@
+d6b1b28b32db100de5dbb45a3f561953  XML-Atom-0.35.tar.gz




More information about the fedora-extras-commits mailing list