8
0

Accepting request 28395 from devel:languages:perl

Copy from devel:languages:perl/perl-XML-NamespaceSupport based on submit request 28395 from user coolo

OBS-URL: https://build.opensuse.org/request/show/28395
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-NamespaceSupport?expand=0&rev=5
This commit is contained in:
OBS User autobuild
2010-01-14 15:35:46 +00:00
committed by Git OBS Bridge
parent 4588e3de29
commit 749fcbf6ea
4 changed files with 57 additions and 37 deletions

BIN
XML-NamespaceSupport-1.09.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
XML-NamespaceSupport-1.10.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -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

View File

@@ -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 <robin@knowscape.com>
%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