diff --git a/XML-NamespaceSupport-1.09.tar.bz2 b/XML-NamespaceSupport-1.09.tar.bz2 deleted file mode 100644 index ed03196..0000000 --- a/XML-NamespaceSupport-1.09.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f40c9e757a4117d7f3ee83cbb4ead4dce52c263e8da6cd5e5622797cdd16add7 -size 7564 diff --git a/XML-NamespaceSupport-1.10.tar.bz2 b/XML-NamespaceSupport-1.10.tar.bz2 new file mode 100644 index 0000000..3f9169a --- /dev/null +++ b/XML-NamespaceSupport-1.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:294f07cdce447123d994543be1a93afaefba2dab0f440caffc784ca7136988ab +size 25561 diff --git a/perl-XML-NamespaceSupport.changes b/perl-XML-NamespaceSupport.changes index 8f7df1d..d5c873e 100644 --- a/perl-XML-NamespaceSupport.changes +++ b/perl-XML-NamespaceSupport.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Sat Jul 25 19:46:18 CEST 2009 - chris@computersalat.de + +- spec mods + * removed ^---------- + * removed ^#--------- + +------------------------------------------------------------------- +Wed Jul 15 08:19:43 CEST 2009 - chris@computersalat.de + +- fix for failing builds + o stop auto_install (Makefile.PL) + +------------------------------------------------------------------- +Tue Jul 14 20:24:13 CEST 2009 - chris@computersalat.de + +- update to 1.10 + - Release real version since CPAN testers gave us a pass (perigrin) +- added perl-macros + o autogen filelist with perl_gen_filelist +- spec mods + o updated desc +- fixed deps + o BuildReq perl(version) + o BuildReq perl(YAML::Syck) + ------------------------------------------------------------------- Wed Jan 25 21:40:03 CET 2006 - mls@suse.de diff --git a/perl-XML-NamespaceSupport.spec b/perl-XML-NamespaceSupport.spec index 33ac67d..3850172 100644 --- a/perl-XML-NamespaceSupport.spec +++ b/perl-XML-NamespaceSupport.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-XML-NamespaceSupport (Version 1.09) +# spec file for package perl-XML-NamespaceSupport (Version 1.10) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 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 @@ -19,16 +19,21 @@ Name: perl-XML-NamespaceSupport -Version: 1.09 -Release: 135 -Requires: perl = %{perl_version} -AutoReqProv: on +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: A simple generic namespace support class +Version: 1.10 +Release: 1 +License: Artistic License .. Group: Development/Libraries/Perl -License: Artistic License Url: http://www.cpan.org/modules/by-module/XML/ -Summary: XML::NamespaceSupport Perl Module -Source: XML-NamespaceSupport-%{version}.tar.bz2 +Source: %{cpan_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(version) +BuildRequires: perl(YAML::Syck) +Requires: perl = %{perl_version} %description This module offers a simple way to process namespaced XML names @@ -36,40 +41,29 @@ This module offers a simple way to process namespaced XML names maintain a prefix to namespace URI map, and provides a number of basic checks. - - + Author: Robin Berjon %prep -%setup -q -n XML-NamespaceSupport-%{version} +%setup -q -n %{cpan_name}-%{version} +%{__sed} -i -e "s,^\(auto_install.*\),#\1,g" Makefile.PL %build -perl Makefile.PL -make -make test +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} + +%check +%{__make} test %install -make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_make_install %perl_process_packlist -chmod 644 $RPM_BUILD_ROOT/%_mandir/man3/* -chmod 644 $RPM_BUILD_ROOT/%{perl_vendorlib}/XML/NamespaceSupport.pm -chmod 644 Changes README +%perl_gen_filelist %clean -rm -rf $RPM_BUILD_ROOT +%{__rm} -rf $RPM_BUILD_ROOT -%files -%defattr(-,root,root) +%files -f %{name}.files +# normally you only need to check for doc files +%defattr(0644,root,root,0755) %doc Changes README -%doc %{_mandir}/man3/* -%{perl_vendorlib}/XML -%{perl_vendorarch}/auto/XML -/var/adm/perl-modules/%{name} %changelog -* Wed Jan 25 2006 mls@suse.de -- converted neededforbuild to BuildRequires -* Sun Jul 31 2005 cthiel@suse.de -- update to version 1.09 -* Tue Jun 28 2005 ro@suse.de -- fix permissions -* Mon Nov 15 2004 ro@suse.de -- initial package