8
0

Compare commits

...

10 Commits

Author SHA256 Message Date
b6ea4cf262 Accepting request 1244900 from devel:languages:perl
- Normalize CPAN version
  See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/request/show/1244900
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer-String?expand=0&rev=6
2025-02-11 20:21:48 +00:00
43218a3ff8 - Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=12
2025-02-10 21:48:43 +00:00
Stephan Kulow
2affc65a63 Accepting request 122400 from devel:languages:perl
TeXLive build depends on this

OBS-URL: https://build.opensuse.org/request/show/122400
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-XML-Writer-String?expand=0&rev=1
2012-05-26 10:39:53 +00:00
Stephan Kulow
eb108c948b Accepting request 121849 from home:babelworx:ldig:branches:devel:languages:perl
license update: Artistic-1.0 or GPL-1.0+
SPDX format (http://www.spdx.org/licenses)

OBS-URL: https://build.opensuse.org/request/show/121849
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=10
2012-05-23 07:09:35 +00:00
Stephan Kulow
f89571b984 use gz
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=9
2011-11-17 15:57:36 +00:00
Stephan Kulow
2cea6e0233 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=7 2011-11-11 11:24:45 +00:00
Stephan Kulow
cdb365e7df always buildrequire perl-macros if not present, move %perl_requires behind buildroot (script commit)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=6
2010-12-03 14:56:53 +00:00
Stephan Kulow
a5f3be0861 siwtch to perl_requires macro
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=5
2010-12-01 13:58:30 +00:00
Stephan Kulow
99bd7a437e - remove /var/adm/perl-modules
- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

- remove /var/adm/perl-modules

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=4
2010-11-29 19:01:08 +00:00
Stephan Kulow
910dcf967b remove .packlist file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-XML-Writer-String?expand=0&rev=3
2010-11-28 11:44:07 +00:00
4 changed files with 73 additions and 50 deletions

BIN
XML-Writer-String-0.1.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
XML-Writer-String-0.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,30 @@
-------------------------------------------------------------------
Mon Feb 10 21:48:36 UTC 2025 - Tina Müller <tina.mueller@suse.com>
- Normalize CPAN version
See https://github.com/openSUSE/cpanspec/issues/47 for details
-------------------------------------------------------------------
Wed May 23 06:50:54 UTC 2012 - cfarrell@suse.com
- license update: Artistic-1.0 or GPL-1.0+
SPDX format (http://www.spdx.org/licenses)
-------------------------------------------------------------------
Wed Dec 1 13:36:23 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:32:30 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Nov 28 11:38:04 UTC 2010 - coolo@novell.com
- remove .packlist file
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 19 15:36:40 UTC 2010 - coolo@novell.com Tue Oct 19 15:36:40 UTC 2010 - coolo@novell.com

View File

@@ -1,48 +1,56 @@
# #
# spec file for package perl-XML-Writer-String # spec file for package perl-XML-Writer-String
# #
# Copyright (c) 2025 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.
# norootforbuild # Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name XML-Writer-String
Name: perl-XML-Writer-String Name: perl-XML-Writer-String
%define real_name XML-Writer-String Version: 0.100.0
Release: 0
# 0.1 -> normalize -> 0.100.0
%define cpan_version 0.1
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Capture output from XML::Writer Summary: Capture output from XML::Writer
Url: http://search.cpan.org/perldoc?XML::Writer::String URL: https://metacpan.org/release/%{cpan_name}
Group: Development/Libraries/Perl Source0: https://cpan.metacpan.org/authors/id/S/SO/SOLIVER/%{cpan_name}-%{cpan_version}.tar.gz
License: Artistic License BuildArch: noarch
Version: 0.1
Release: 1
Vendor: openSUSE-Education
Source: %{real_name}-%{version}.tar.bz2
Requires: perl-XML-Writer
Requires: perl = %{perl_version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(XML::Writer)
Requires: perl(XML::Writer)
Provides: perl(XML::Writer::String) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description %description
This module implements a bare-bones class specifically for the purpose of This module implements a bare-bones class specifically for the purpose of
capturing data from the XML::Writer module. XML::Writer expects an IO::Handle capturing data from the XML::Writer module. XML::Writer expects an
object and writes XML data to the specified object (or STDOUT) via it's print() IO::Handle object and writes XML data to the specified object (or STDOUT)
method. This module simulates such an object for the specific purpose of via it's print() method. This module simulates such an object for the
providing the required print() method. specific purpose of providing the required print() method.
It is recommended that $writer->end() is called prior to calling $s->value() to
check for well-formedness.
Author:
-------
Simon Oliver <simon.oliver@umist.ac.uk>
It is recommended that $writer->end() is called prior to calling
$s->value() to check for well-formedness.
%prep %prep
%setup -n %{real_name}-%{version} %autosetup -n %{cpan_name}-%{cpan_version} -p1
for i in Changes README MANIFEST example/eg*; do
sed -i 's/
//' $i
%build %build
%build perl Makefile.PL INSTALLDIRS=vendor
perl Makefile.PL %make_build
%check %check
make test make test
@@ -50,21 +58,9 @@ make test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%clean %doc Changes example README
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc Changes README MANIFEST example
%doc %{_mandir}/man?/*
%dir %{perl_vendorarch}/auto/XML
%dir %{perl_vendorarch}/auto/XML/Writer
%dir %{perl_vendorarch}/auto/XML/Writer/String
%dir %{perl_vendorlib}/XML
%dir %{perl_vendorlib}/XML/Writer
%{perl_vendorarch}/auto/XML/Writer/String/.packlist
%{perl_vendorlib}/XML/Writer/*.pm
%changelog %changelog