diff --git a/Class-Data-Inheritable-0.08.tar.gz b/Class-Data-Inheritable-0.08.tar.gz deleted file mode 100644 index 9de7840..0000000 --- a/Class-Data-Inheritable-0.08.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9967feceea15227e442ec818723163eb6d73b8947e31f16ab806f6e2391af14a -size 5660 diff --git a/Class-Data-Inheritable-0.09.tar.gz b/Class-Data-Inheritable-0.09.tar.gz new file mode 100644 index 0000000..8cdb61f --- /dev/null +++ b/Class-Data-Inheritable-0.09.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:44088d6e90712e187b8a5b050ca5b1c70efe2baa32ae123e9bd8f59f29f06e4d +size 6087 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-Class-Data-Inheritable.changes b/perl-Class-Data-Inheritable.changes index d6a565d..c7258d9 100644 --- a/perl-Class-Data-Inheritable.changes +++ b/perl-Class-Data-Inheritable.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Sat Jul 31 03:06:48 UTC 2021 - Tina Müller + +- updated to 0.09 + see /usr/share/doc/packages/perl-Class-Data-Inheritable/Changes + + 0.09 Fri Jul 30 22:42:00 UTC 2021 + - Update spelling errors to resolve #83824 and #86563 + ------------------------------------------------------------------- Fri Nov 18 11:09:18 UTC 2011 - coolo@suse.com diff --git a/perl-Class-Data-Inheritable.spec b/perl-Class-Data-Inheritable.spec index c09c942..ca02c42 100644 --- a/perl-Class-Data-Inheritable.spec +++ b/perl-Class-Data-Inheritable.spec @@ -1,7 +1,7 @@ # # spec file for package perl-Class-Data-Inheritable # -# Copyright (c) 2011 SUSE LINUX Products 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,33 +12,29 @@ # 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/ # -# norootforbuild - -Name: perl-Class-Data-Inheritable %define cpan_name Class-Data-Inheritable +Name: perl-Class-Data-Inheritable +Version: 0.09 +Release: 0 Summary: Inheritable, overridable class data -Version: 0.08 -Release: 59 -License: GPL-1.0+ or Artistic-1.0 -Group: Development/Libraries/Perl -Url: http://search.cpan.org/dist/Class-Data-Inheritable/ -#Source: http://www.cpan.org/authors/id/T/TM/TMTM/Class-Data-Inheritable-0.08.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +License: Artistic-1.0 OR GPL-1.0-or-later +URL: https://metacpan.org/release/%{cpan_name} +Source0: https://cpan.metacpan.org/authors/id/R/RS/RSHERER/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml BuildArch: noarch -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%{perl_requires} BuildRequires: perl BuildRequires: perl-macros +%{perl_requires} %description Class::Data::Inheritable is for creating accessor/mutators to class data. That is, if you want to store something about your class as a whole (instead of about a single object). This data is then inherited by your -subclasses and can be overriden. +subclasses and can be overridden. For example: @@ -70,54 +66,34 @@ inherit further changes: Pere::Ubu->Suitcase('Blue'); However, should Raygun decide to set its own Suitcase() it has now -"overridden" Pere::Ubu and is on its own, just like if it had overriden a +"overridden" Pere::Ubu and is on its own, just like if it had overridden a method: # Raygun has an orange suitcase, Pere::Ubu's is still Blue. Raygun->Suitcase('Orange'); -Now that Raygun has overridden Pere::Ubu futher changes by Pere::Ubu no +Now that Raygun has overridden Pere::Ubu further changes by Pere::Ubu no longer effect Raygun. # Raygun still has an orange suitcase, but Pere::Ubu is using Samsonite. Pere::Ubu->Suitcase('Samsonite'); -Authors: --------- - Original code by Damian Conway. - Maintained by Michael G Schwern until September 2005. - Now maintained by Tony Bowden. - %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 -### since 11.4 perl_process_packlist -### removes .packlist, perllocal.pod files -%if 0%{?suse_version} > 1130 %perl_process_packlist -%else -# do not perl_process_packlist -# remove .packlist file -%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch -# remove perllocal.pod file -%{__rm} -f $RPM_BUILD_ROOT%perl_archlib/perllocal.pod -%endif %perl_gen_filelist -%clean -%{__rm} -rf $RPM_BUILD_ROOT - %files -f %{name}.files -%defattr(-,root,root,-) -%doc Changes README +%doc Changes doc README %changelog