8
0

Accepting request 483984 from devel:languages:perl:autoupdate

automatic update

OBS-URL: https://build.opensuse.org/request/show/483984
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-NamespaceSupport?expand=0&rev=23
This commit is contained in:
Stephan Kulow
2017-04-06 13:04:35 +00:00
committed by Git OBS Bridge
parent d0d35e174e
commit 28be8383eb
5 changed files with 58 additions and 30 deletions

BIN
XML-NamespaceSupport-1.11.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
XML-NamespaceSupport-1.12.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

28
cpanspec.yml Normal file
View File

@@ -0,0 +1,28 @@
---
#description_paragraphs: 3
#description: |-
# override description from CPAN
#summary: override summary from CPAN
#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_build: |-
# rm unused.files
#post_install: |-
# sed on %{name}.files
#license: SUSE-NonFree
#skip_noarch: 1
#custom_build: |-
#./Build build flags=%{?_smp_mflags} --myflag
#custom_test: |-
#startserver && make test
#ignore_requires: Bizarre::Module

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 31 07:08:07 UTC 2017 - coolo@suse.com
- updated to 1.12
see /usr/share/doc/packages/perl-XML-NamespaceSupport/Changes
-------------------------------------------------------------------
Mon Apr 15 10:35:08 UTC 2013 - idonmez@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-XML-NamespaceSupport
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@@ -17,39 +17,36 @@
Name: perl-XML-NamespaceSupport
%define cpan_name XML-NamespaceSupport
Summary: A simple generic namespace support class
License: Artistic-1.0
Group: Development/Libraries/Perl
Version: 1.11
Version: 1.12
Release: 0
Url: http://search.cpan.org/perldoc?XML::NamespaceSupport
Source: http://www.cpan.org/modules/by-module/XML/%{cpan_name}-%{version}.tar.gz
%define cpan_name XML-NamespaceSupport
Summary: Simple Generic Namespace Processor
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/XML-NamespaceSupport/
Source0: https://cpan.metacpan.org/authors/id/P/PE/PERIGRIN/%{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) >= 0.47
BuildRequires: perl(YAML::Syck)
BuildRequires: perl(version)
%{perl_requires}
%description
This module offers a simple way to process namespaced XML names
(unames) from within any application that may need them. It also helps
maintain a prefix to namespace URI map, and provides a number of basic
checks.
This module offers a simple to process namespaced XML names (unames) from
within any application that may need them. It also helps maintain a prefix
to namespace URI map, and provides a number of basic checks.
Authors:
--------
Robin Berjon <robin@knowscape.com>
The model for this module is SAX2's NamespaceSupport class, readable at
http://www.saxproject.org/namespaces.html It adds a few perlisations where
we thought it appropriate.
%prep
%setup -q -n %{cpan_name}-%{version}
%{__sed} -i -e "s,^\(auto_install.*\),#\1,g" Makefile.PL
%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%{__make} %{?jobs:-j%jobs}
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
@@ -59,12 +56,9 @@ perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
# normally you only need to check for doc files
%defattr(0644,root,root,0755)
%defattr(-,root,root,755)
%doc Changes README
%license LICENSE
%changelog