Files
perl-XML-Generator/perl-XML-Generator.spec
Dirk Stoecker 0a70b68f4e Accepting request 1084393 from devel:languages:perl:autoupdate
- updated to 1.13
   see /usr/share/doc/packages/perl-XML-Generator/Changes
  1.13 -- 
      Production Release of 1.12 no changes.
      [Significant Updates since 1.11]
      Two fairly minor updates that should not impact anyone much.
      Dropping support for 5.008 - if you really need it send a PR
      to fix.  There has been a longstanding "bug" that inserted
      standalone in the xml declaration whether it was needed or not.
      This makes it optional if it is not required for
      externally-defined DTD or directly specified.
      - 1a4e7a0 Update version for Release 1.13
      - abb366d v1.12
  1.12 -- 
      [Significant Updates since 1.11]
      Two fairly minor updates that should not impact anyone much.
      Dropping support for 5.008 - if you really need it send a PR
      to fix.  There has been a longstanding "bug" that inserted
      standalone in the xml declaration whether it was needed or not.
      This makes it optional if it is not required for
      externally-defined DTD or directly specified.
      - 1a7defd Forgot to increment the number of tests
      - 7a05609 Fix standalone bug
      - aa3c19d Add autoprereqs
      - a458ec3 Drop support for perl 5.008
      - 85847a1 v1.11

OBS-URL: https://build.opensuse.org/request/show/1084393
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Generator?expand=0&rev=9
2023-05-03 15:21:01 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-XML-Generator
#
# Copyright (c) 2023 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name XML-Generator
Name: perl-XML-Generator
Version: 1.13
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Perl extension for generating XML
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TI/TIMLEGGE/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Recommends: perl(XML::DOM) >= 1.46
%{perl_requires}
%description
In general, once you have an XML::Generator object, you then simply call
methods on that object named for each XML tag you wish to generate.
XML::Generator can also arrange for undefined subroutines in the caller's
package to generate the corresponding XML, by exporting an 'AUTOLOAD'
subroutine to your package. Just supply an ':import' argument to your 'use
XML::Generator;' call. If you already have an 'AUTOLOAD' defined then
XML::Generator can be configured to cooperate with it. See "STACKABLE
AUTOLOADs".
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README
%license LICENSE
%changelog