forked from pool/perl-XML-NamespaceSupport
Compare commits
10 Commits
3ecee3a63e
...
44e8447fde
Author | SHA256 | Date | |
---|---|---|---|
44e8447fde | |||
|
28be8383eb | ||
|
ff47b4b098 | ||
|
d0d35e174e | ||
|
175660b4c9 | ||
|
55790e33db | ||
|
cec76c577f | ||
|
ff80961fa5 | ||
|
8e5875940b | ||
|
341a1492a1 |
BIN
XML-NamespaceSupport-1.11.tar.bz2
(Stored with Git LFS)
BIN
XML-NamespaceSupport-1.11.tar.bz2
(Stored with Git LFS)
Binary file not shown.
BIN
XML-NamespaceSupport-1.12.tar.gz
(Stored with Git LFS)
Normal file
BIN
XML-NamespaceSupport-1.12.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal 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
|
@@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
- Add Source URL, see https://en.opensuse.org/SourceUrls
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 18 11:08:20 UTC 2011 - coolo@suse.com
|
||||
|
||||
- use original .tar.gz
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 30 18:16:25 UTC 2011 - andrea.turrini@gmail.com
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-XML-NamespaceSupport (Version 1.11)
|
||||
# spec file for package perl-XML-NamespaceSupport
|
||||
#
|
||||
# Copyright (c) 2010 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
|
||||
@@ -15,43 +15,38 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: perl-XML-NamespaceSupport
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: A simple generic namespace support class
|
||||
Version: 1.11
|
||||
Release: 4
|
||||
License: Artistic License ..
|
||||
Version: 1.12
|
||||
Release: 0
|
||||
%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/perldoc?XML::NamespaceSupport
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
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(version)
|
||||
BuildRequires: perl(YAML::Syck)
|
||||
%{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
|
||||
@@ -61,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
|
||||
|
Reference in New Issue
Block a user