Accepting request 922236 from devel:languages:perl:autoupdate

- Add minil.toml to skip_doc
- updated to 1.11
   see /usr/share/doc/packages/perl-HTML-Escape/Changes
  1.11 2021-09-27T04:11:20Z
      commit 239b88f865305b59f7d193f0431fcd5c03df3dd3
      Author: Harald Jörg <haj@posteo.de>
      Date:   
          Add the list of escaped characters to the docs and clarify usage in the synopsis

OBS-URL: https://build.opensuse.org/request/show/922236
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Escape?expand=0&rev=3
This commit is contained in:
2021-09-30 07:36:18 +00:00
committed by Git OBS Bridge
parent 911322c54e
commit 6a6463b184
5 changed files with 75 additions and 17 deletions

View File

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

3
HTML-Escape-1.11.tar.gz Normal file
View File

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

37
cpanspec.yml Normal file
View File

@@ -0,0 +1,37 @@
---
#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:
# baz.patch: PATCH-FIX-OPENSUSE
#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
#skip_doc: regexp_to_skip_for_doc.*
#add_doc: files to add to docs
#misc: |-
#anything else to be added to spec file
#follows directly after %files section, so it can contain new blocks or also
#changes to %files section
skip_doc: |-
minil.toml

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Wed Sep 29 20:47:12 UTC 2021 - Tina Müller <tina.mueller@suse.com>
- Add minil.toml to skip_doc
-------------------------------------------------------------------
Tue Sep 28 03:06:52 UTC 2021 - Tina Müller <timueller+perl@suse.de>
- updated to 1.11
see /usr/share/doc/packages/perl-HTML-Escape/Changes
1.11 2021-09-27T04:11:20Z
commit 239b88f865305b59f7d193f0431fcd5c03df3dd3
Author: Harald Jörg <haj@posteo.de>
Date: Sun Jan 13 11:56:25 2019 +0100
Add the list of escaped characters to the docs and clarify usage in the synopsis
-------------------------------------------------------------------
Tue Jun 27 16:06:53 UTC 2017 - lars@linux-schulserver.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-HTML-Escape
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,20 +12,19 @@
# 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/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: perl-HTML-Escape
Version: 1.10
Release: 0
%define cpan_name HTML-Escape
Name: perl-HTML-Escape
Version: 1.11
Release: 0
Summary: Extremely fast HTML escaping
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/HTML-Escape/
Source0: http://www.cpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
License: Artistic-1.0 OR GPL-1.0-or-later
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOKUHIROM/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Devel::PPPort) >= 3.20
@@ -40,16 +39,19 @@ Requires: perl(parent)
%description
This modules provides a function which escapes HTML's special characters.
It performs a similar function to PHP's htmlspecialchars.
It performs a similar function to PHP's htmlspecialchars. It escapes the
following characters:
" & ' < > ` { }
This module uses XS for better performance, but it also provides a pure
perl version.
%prep
%setup -q -n %{cpan_name}-%{version}
%autosetup -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor optimize="%{optflags}"
perl Build.PL installdirs=vendor optimize="%{optflags}"
./Build build flags=%{?_smp_mflags}
%check
@@ -60,7 +62,7 @@ perl version.
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes LICENSE minil.toml README.md
%doc Changes README.md
%license LICENSE
%changelog