diff --git a/XML-SimpleObject-LibXML-0.60.tar.gz b/XML-SimpleObject-LibXML-0.60.tar.gz new file mode 100644 index 0000000..0e525a1 --- /dev/null +++ b/XML-SimpleObject-LibXML-0.60.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:16fe06bb5d0f3959259f3293a3c842f4ff9e3d87b71fc5d36944fdbbac97d0ab +size 8084 diff --git a/perl-XML-SimpleObject-LibXML-0.60.tar.bz2 b/perl-XML-SimpleObject-LibXML-0.60.tar.bz2 deleted file mode 100644 index d4c8a7b..0000000 --- a/perl-XML-SimpleObject-LibXML-0.60.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1bb54b54939356ba48f3637671ccedf2e088fe92fb4cf3714c8d9bab9becb13b -size 6840 diff --git a/perl-XML-SimpleObject-LibXML.changes b/perl-XML-SimpleObject-LibXML.changes index 09ca1bf..dd1e8b5 100644 --- a/perl-XML-SimpleObject-LibXML.changes +++ b/perl-XML-SimpleObject-LibXML.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 18 15:56:40 UTC 2011 - coolo@suse.com + +- use original tar.gz + ------------------------------------------------------------------- Fri Dec 10 10:57:22 UTC 2010 - coolo@novell.com diff --git a/perl-XML-SimpleObject-LibXML.spec b/perl-XML-SimpleObject-LibXML.spec index a185a2b..b747dd3 100644 --- a/perl-XML-SimpleObject-LibXML.spec +++ b/perl-XML-SimpleObject-LibXML.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-XML-SimpleObject-LibXML (Version 0.60) +# spec file for package perl-XML-SimpleObject-LibXML # -# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,46 +18,52 @@ Name: perl-XML-SimpleObject-LibXML -Summary: Perl extension allowing a simple(r) object representation of an XML::LibXML DOM object Version: 0.60 -Release: 109 -Group: Development/Libraries/Perl +Release: 1 License: Artistic -BuildRequires: perl perl-macros -Url: http://www.cpan.org/modules/by-module/XML/ -Source: %{name}-%{version}.tar.bz2 +%define cpan_name XML-SimpleObject-LibXML +Summary: Perl extension allowing a simple(r) object representation of an XML::Lib[cut] +Url: http://search.cpan.org/dist/XML-SimpleObject-LibXML/ +Group: Development/Libraries/Perl +Source: http://www.cpan.org/authors/id/D/DB/DBRIAN/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(XML::LibXML) +Requires: perl(XML::LibXML) %{perl_requires} %description -This is a short and simple class allowing simple object access to a -parsed XML::LibXML tree, with methods for fetching children and -attributes in as clean a manner as possible. - - +This is a short and simple class allowing simple object access to a parsed +XML::LibXML tree, with methods for fetching children and attributes in as +clean a manner as possible. My apologies for further polluting the XML:: +space; this is a small and quick module, with easy and compact usage. Some +will rightfully question placing another interface over the DOM methods +provided by XML::LibXML, but my experience is that people appreciate the +total simplicity provided by this module, despite its limitations. These +limitations include a minor loss of speed compared to the DOM, loss of +control over node types, and protection (aka lack of knowledge) about the +DOM. I encourage those who want more control and understanding over the DOM +to study XML::LibXML; this module's source can be instructive, too. %prep -%setup -q +%setup -q -n %{cpan_name}-%{version} %build -perl Makefile.PL -make %{?_smp_mflags} -make test +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test %install %perl_make_install %perl_process_packlist +%perl_gen_filelist -%clean -rm -rf $RPM_BUILD_ROOT - -%files -%defattr(-,root,root) -%doc README Changes MANIFEST -%doc %{_mandir}/man3/XML::SimpleObject::LibXML*.gz -%{perl_vendorarch}/auto/XML/SimpleObject/LibXML* -%{perl_vendorarch}/auto/XML -%{perl_vendorlib}/XML/SimpleObject/LibXML* -%{perl_vendorlib}/XML +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes README %changelog