From a87d7bec70d88779a70549cb4c076ff5e3660a767b0b687263f923e614663c99 Mon Sep 17 00:00:00 2001 From: Dirk Stoecker Date: Thu, 22 Sep 2022 13:29:55 +0000 Subject: [PATCH] Accepting request 1002768 from devel:languages:perl:autoupdate - updated to 1.08 see /usr/share/doc/packages/perl-HTML-Tiny/Changes OBS-URL: https://build.opensuse.org/request/show/1002768 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-HTML-Tiny?expand=0&rev=2 --- HTML-Tiny-1.05.tar.gz | 3 --- HTML-Tiny-1.08.tar.gz | 3 +++ cpanspec.yml | 35 +++++++++++++++++++++++++++++++++++ perl-HTML-Tiny.changes | 6 ++++++ perl-HTML-Tiny.spec | 35 ++++++++++++++++------------------- 5 files changed, 60 insertions(+), 22 deletions(-) delete mode 100644 HTML-Tiny-1.05.tar.gz create mode 100644 HTML-Tiny-1.08.tar.gz create mode 100644 cpanspec.yml diff --git a/HTML-Tiny-1.05.tar.gz b/HTML-Tiny-1.05.tar.gz deleted file mode 100644 index 88a49ad..0000000 --- a/HTML-Tiny-1.05.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7cdc9d5985e2e44ceba10b756acf1e0d3a1b3ee3b516e5b54adb850fe79fda3 -size 17258 diff --git a/HTML-Tiny-1.08.tar.gz b/HTML-Tiny-1.08.tar.gz new file mode 100644 index 0000000..306948a --- /dev/null +++ b/HTML-Tiny-1.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f01df0c9fc80b3d9da288baabf8c0a53747444f7ae1eb9600e7afc4a3dcfeb5 +size 23676 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..ab24ed9 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,35 @@ +--- +#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 diff --git a/perl-HTML-Tiny.changes b/perl-HTML-Tiny.changes index 79bdf37..136e36e 100644 --- a/perl-HTML-Tiny.changes +++ b/perl-HTML-Tiny.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 8 03:07:18 UTC 2022 - Tina Müller + +- updated to 1.08 + see /usr/share/doc/packages/perl-HTML-Tiny/Changes + ------------------------------------------------------------------- Sun May 1 10:34:56 UTC 2011 - coolo@opensuse.org diff --git a/perl-HTML-Tiny.spec b/perl-HTML-Tiny.spec index 8de8316..a376094 100644 --- a/perl-HTML-Tiny.spec +++ b/perl-HTML-Tiny.spec @@ -1,7 +1,7 @@ # -# spec file for package perl-HTML-Tiny (Version 1.05) +# spec file for package perl-HTML-Tiny # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2022 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,20 @@ # 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-Tiny -Version: 1.05 -Release: 1 -License: GPL+ or Artistic + %define cpan_name HTML-Tiny +Name: perl-HTML-Tiny +Version: 1.08 +Release: 0 +License: Artistic-1.0 OR GPL-1.0-or-later Summary: Lightweight, dependency free HTML/XML generation -Url: http://search.cpan.org/dist/HTML-Tiny/ -Group: Development/Libraries/Perl -Source: http://www.cpan.org/authors/id/A/AN/ANDYA/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/A/AR/ARISTOTLE/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros %{perl_requires} @@ -47,25 +47,22 @@ to * * JSON encode data structures %prep -%setup -q -n %{cpan_name}-%{version} +%autosetup -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +%make_build %check -%{__make} test +make test %install %perl_make_install %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(-,root,root,755) %doc Changes examples README +%license LICENSE %changelog