diff --git a/Class-Singleton-1.5.tar.gz b/Class-Singleton-1.5.tar.gz deleted file mode 100644 index dd0a8e7..0000000 --- a/Class-Singleton-1.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:38220d04f02e3a803193c2575a1644cce0b95ad4b95c19eb932b94e2647ef678 -size 7785 diff --git a/Class-Singleton-1.6.tar.gz b/Class-Singleton-1.6.tar.gz new file mode 100644 index 0000000..76364fd --- /dev/null +++ b/Class-Singleton-1.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27ba13f0d9512929166bbd8c9ef95d90d630fc80f0c9a1b7458891055e9282a4 +size 16164 diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..74cd9d8 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,34 @@ +--- +#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 +#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-Class-Singleton.changes b/perl-Class-Singleton.changes index 91b8dd8..25cad60 100644 --- a/perl-Class-Singleton.changes +++ b/perl-Class-Singleton.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 3 03:06:07 UTC 2020 - Tina Müller + +- updated to 1.6 + see /usr/share/doc/packages/perl-Class-Singleton/Changes + ------------------------------------------------------------------- Mon Apr 13 19:13:23 UTC 2015 - coolo@suse.com diff --git a/perl-Class-Singleton.spec b/perl-Class-Singleton.spec index 6ac63d2..aed4bfe 100644 --- a/perl-Class-Singleton.spec +++ b/perl-Class-Singleton.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Class-Singleton # -# Copyright (c) 2015 SUSE LINUX 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,19 +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-Class-Singleton -Version: 1.5 +Version: 1.6 Release: 0 %define cpan_name Class-Singleton Summary: Implementation of a "Singleton" class -License: GPL-1.0+ or Artistic-1.0 +License: Artistic-1.0 OR GPL-1.0-or-later Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Class-Singleton/ -Source: http://www.cpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/S/SH/SHAY/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl @@ -46,14 +47,13 @@ Patterns", Gamma et al, Addison-Wesley, 1995, ISBN 0-201-63361-2. %prep %setup -q -n %{cpan_name}-%{version} -find . -type f -print0 | xargs -0 chmod 644 %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 @@ -63,5 +63,6 @@ find . -type f -print0 | xargs -0 chmod 644 %files -f %{name}.files %defattr(-,root,root,755) %doc Changes README +%license Artistic Copying LICENCE %changelog