rpms/perl-XML-Smart/EL-5 import.log, NONE, 1.1 perl-XML-Smart-1.6.9-nohttp.patch, NONE, 1.1 perl-XML-Smart.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel (lkundrak) fedora-extras-commits at redhat.com
Wed Jun 11 17:28:51 UTC 2008


Author: lkundrak

Update of /cvs/pkgs/rpms/perl-XML-Smart/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20663/EL-5

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-XML-Smart-1.6.9-nohttp.patch 
	perl-XML-Smart.spec 
Log Message:
Initial import


--- NEW FILE import.log ---
perl-XML-Smart-1_6_9-1_el5:EL-5:perl-XML-Smart-1.6.9-1.el5.src.rpm:1213204938

perl-XML-Smart-1.6.9-nohttp.patch:

--- NEW FILE perl-XML-Smart-1.6.9-nohttp.patch ---
Do not ask interactive questions, nor fetch anything from the Internets.
Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com>

diff -urp XML-Smart-1.6.9.orig/test.pl XML-Smart-1.6.9/test.pl
--- XML-Smart-1.6.9.orig/test.pl	2004-09-01 20:39:28.000000000 +0200
+++ XML-Smart-1.6.9/test.pl	2008-06-03 11:36:45.000000000 +0200
@@ -1251,7 +1251,8 @@ TEXT1 & more
   
     my $url = 'http://www.perlmonks.org/index.pl?node_id=16046' ;
 
-    my $opt = prompt("\nURL: $url\nDo you want to test XML::Smart with an URL?","n");
+    #my $opt = prompt("\nURL: $url\nDo you want to test XML::Smart with an URL?","n");
+    my $opt = 'no way, dude';
     
     if ( $opt =~ /^\s*(?:y|s)/si ) {
       print "\nGetting URL... " ;


--- NEW FILE perl-XML-Smart.spec ---
Name:           perl-XML-Smart
Version:        1.6.9
Release:        1%{?dist}
Summary:        Implementation of XML parser and writer for Perl
License:        GPL+ or Artistic
Group:          Development/Libraries
URL:            http://search.cpan.org/dist/XML-Smart/
Source0:        http://www.cpan.org/authors/id/G/GM/GMPASSOS/XML-Smart-%{version}.tar.gz
Patch0:         perl-XML-Smart-1.6.9-nohttp.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Object::MultiType) >= 0.03
BuildRequires:  dos2unix
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))


%description
This module uses tree of hashes and arrays as representation of XML data,
which enables the programmer to access it easily, taking advantage of
standard Perl language facilities.


%prep
%setup -q -n XML-Smart-%{version}
%patch -p1 -b .nohttp


%build
dos2unix -q -k README Changes
%{__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
* Mon Jun 02 2008 Lubomir Rintel (Good Data) <lubo.rintel at gooddata.com> 1.6.9-1
- Specfile autogenerated by cpanspec 1.75.
- Skip the test that fetches an external file


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Smart/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	11 Jun 2008 16:50:32 -0000	1.1
+++ .cvsignore	11 Jun 2008 17:28:07 -0000	1.2
@@ -0,0 +1 @@
+XML-Smart-1.6.9.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-XML-Smart/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	11 Jun 2008 16:50:32 -0000	1.1
+++ sources	11 Jun 2008 17:28:07 -0000	1.2
@@ -0,0 +1 @@
+648309c0d613ddaca6f6b16e9f13c81d  XML-Smart-1.6.9.tar.gz




More information about the fedora-extras-commits mailing list