Accepting request 297287 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/297287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Filter-ExceptionLocator?expand=0&rev=5
This commit is contained in:
Stephan Kulow
2015-04-16 19:24:02 +00:00
committed by Git OBS Bridge
parent 34a8a8d74d
commit 93ab27d88e
5 changed files with 53 additions and 40 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:eb37cbb242d7207aa1fc670bd82c2b7c0eb6979b8d539e899f730a49bc4ed867
size 3529

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:fc530a6c29a51458ecc3b64412ced1c8d1efc23cf542ee5c6c8908033ccca525
size 3640

20
cpanspec.yml Normal file
View File

@@ -0,0 +1,20 @@
---
#description_paragraphs: 3
#no_testing: broken upstream
#sources:
# - source1
# - source2
#patches:
# foo.patch: -p1
# bar.patch:
#preamble: |-
# BuildRequires: gcc-c++
#post_prep: |-
# hunspell=`pkg-config --libs hunspell | sed -e 's,-l,,; s, *,,g'`
# sed -i -e "s,hunspell-X,$hunspell," t/00-prereq.t Makefile.PL
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: -
#./Build build flags=%{?_smp_mflags} --myflag

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Apr 16 19:08:58 UTC 2015 - coolo@suse.com
- updated to 1.01
see /usr/share/doc/packages/perl-XML-Filter-ExceptionLocator/Changes
-------------------------------------------------------------------
Wed Dec 1 13:36:12 UTC 2010 - coolo@novell.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-Filter-ExceptionLocator
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -15,55 +15,46 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
#Distribution: %dist
#Packager: %packager
#Vendor: %vendor
Name: perl-XML-Filter-ExceptionLocator
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
Summary: Filter to add line/col numbers to SAX errors
Version: 1.00
Release: 1
License: artistic
Group: Applications/CPAN
Url: http://www.cpan.org
Source0: %{cpan_name}-%{version}.tar.gz
Version: 1.01
Release: 0
%define cpan_name XML-Filter-ExceptionLocator
Summary: Filter to Add Line/Col Numbers to Sax Errors
License: GPL-1.0+ or Artistic-1.0
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-Filter-ExceptionLocator/
Source0: http://www.cpan.org/authors/id/S/SA/SAMTREGAR/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{perl_requires}
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Test::More)
#BuildRequires: perl(Module::Build)
BuildRequires: perl(XML::SAX)
BuildRequires: perl(XML::SAX::ExpatXS) >= 1.01
Requires: perl(XML::SAX)
Requires: perl(XML::SAX::ExpatXS) >= 1.01
Provides: %{cpan_name}
Requires: perl(XML::SAX)
Requires: perl(XML::SAX::ExpatXS) >= 1.01
%{perl_requires}
%description
This module implements a SAX filter which adds line-numbers and
column-numbers to errors generated by SAX handlers futher down the
pipeline. I wrote this module so that XML::Validator::Schema could
blame the correct line of XML for validation failures.
pipeline. I wrote this module so that XML::Validator::Schema could blame
the correct line of XML for validation failures.
NOTE: This module requires a SAX parser which correctly supports the
set_document_locator() call. At present there is just one,
XML::SAX::ExpatXS. If you`ve got a number of XML::SAX parsers
installed and you want to make sure XML::SAX::ExpatXS is used, do
this:
*NOTE:* This module requires a SAX parser which correctly supports the
set_document_locator() call. At present there is just one,
XML::SAX::ExpatXS. If you've got a number of XML::SAX parsers installed and
you want to make sure XML::SAX::ExpatXS is used, do this:
$XML::SAX::ParserPackage = 'XML::SAX::ExpatXS';
Author: Sam Tregar <sam@tregar.com>
%prep
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -73,12 +64,8 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root)
%defattr(-,root,root,755)
%doc Changes README
%changelog