Christian Wittmer
2009-07-15 07:48:43 +00:00
committed by Git OBS Bridge
commit 959ac09d65
5 changed files with 131 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

@@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Jul 15 09:44:41 CEST 2009 - chris@computersalat.de
- initial pkg 1.00

View File

@@ -0,0 +1,99 @@
#
# spec file for package perl-XML-Filter-ExceptionLocator
#
# Copyright (c) 2009 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# 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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
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 = %{perl_version}
Requires: perl(XML::SAX)
Requires: perl(XML::SAX::ExpatXS) >= 1.01
Provides: %{cpan_name}
#-------------------------------------------------------------------------------
%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.
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}
%check
%{__make} test
#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
#-------------------------------------------------------------------------------
%clean
#-------------------------------------------------------------------------------
%{__rm} -rf $RPM_BUILD_ROOT
#-------------------------------------------------------------------------------
%files -f %{name}.files
#-------------------------------------------------------------------------------
%defattr(-,root,root)
%doc Changes README
#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------