diff --git a/Types-Serialiser-1.0.tar.gz b/Types-Serialiser-1.0.tar.gz deleted file mode 100644 index 5f1a72f..0000000 --- a/Types-Serialiser-1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7ad3347849d8a3da6470135018d6af5fd8e58b4057cd568c3813695f2a04730d -size 6238 diff --git a/Types-Serialiser-1.01.tar.gz b/Types-Serialiser-1.01.tar.gz new file mode 100644 index 0000000..931a857 --- /dev/null +++ b/Types-Serialiser-1.01.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f8c7173b0914d0e3d957282077b366f0c8c70256715eaef3298ff32b92388a80 +size 6549 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..8b74a63 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,36 @@ +--- +#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 + +# https://metacpan.org/source/MLEHMANN/Types-Serialiser-1.01/COPYING +license: Artistic-1.0 OR GPL-1.0-or-late +#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-Types-Serialiser.changes b/perl-Types-Serialiser.changes index 6ed38b1..dde9436 100644 --- a/perl-Types-Serialiser.changes +++ b/perl-Types-Serialiser.changes @@ -1,3 +1,19 @@ +------------------------------------------------------------------- +Tue Dec 1 09:35:57 UTC 2020 - Tina Müller + +- Add license to cpanspec.yml (no license in Makefile.PL, META.(yml|json), + pod and no LICENSE file) + +------------------------------------------------------------------- +Tue Dec 1 03:14:20 UTC 2020 - Tina Müller + +- updated to 1.01 + see /usr/share/doc/packages/perl-Types-Serialiser/Changes + + 1.01 Tue Dec 1 02:46:33 CET 2020 + - implement Types::Serialiser::as_bool. + - slight doc tweaks. + ------------------------------------------------------------------- Tue May 27 07:14:53 UTC 2014 - ncutler@suse.com diff --git a/perl-Types-Serialiser.spec b/perl-Types-Serialiser.spec index 22993c8..19dca7d 100644 --- a/perl-Types-Serialiser.spec +++ b/perl-Types-Serialiser.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Types-Serialiser # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,26 @@ # 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-Types-Serialiser -Version: 1.0 +Version: 1.01 Release: 0 +#Upstream: CHECK(Artistic-1.0 or GPL-1.0-or-later) %define cpan_name Types-Serialiser Summary: Simple data types for common serialisation formats -License: Artistic-1.0 or GPL-2.0+ +License: Artistic-1.0 OR GPL-1.0-or-late Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Types-Serialiser/ -Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/M/ML/MLEHMANN/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(common::sense) -#BuildRequires: perl(Types::Serialiser) Requires: perl(common::sense) %{perl_requires} @@ -44,11 +45,11 @@ different implementations so they become interoperable between each other. %setup -q -n %{cpan_name}-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor -%{__make} %{?_smp_mflags} +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} %check -%{__make} test +make test %install %perl_make_install @@ -57,6 +58,7 @@ different implementations so they become interoperable between each other. %files -f %{name}.files %defattr(-,root,root,755) -%doc Changes COPYING README +%doc Changes README +%license COPYING %changelog