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..eb6579d 100644 --- a/perl-XML-SimpleObject-LibXML.changes +++ b/perl-XML-SimpleObject-LibXML.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Fri Nov 18 15:56:40 UTC 2011 - coolo@suse.com + +- use original tar.gz + +------------------------------------------------------------------- +Fri Nov 18 15:54:42 UTC 2011 - coolo@suse.com + +- updated to 0.60 + ------------------------------------------------------------------- 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 dd35a35..97237d0 100644 --- a/perl-XML-SimpleObject-LibXML.spec +++ b/perl-XML-SimpleObject-LibXML.spec @@ -18,46 +18,50 @@ 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 %{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