diff --git a/cpanspec.yml b/cpanspec.yml new file mode 100644 index 0000000..76ad4a4 --- /dev/null +++ b/cpanspec.yml @@ -0,0 +1,28 @@ +--- +#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 diff --git a/perl-Object-Pluggable.changes b/perl-Object-Pluggable.changes index 524ff32..5debe9a 100644 --- a/perl-Object-Pluggable.changes +++ b/perl-Object-Pluggable.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Oct 8 06:54:52 UTC 2017 - coolo@suse.com + +- regenerate with cpanspec + ------------------------------------------------------------------- Wed Oct 4 12:13:37 UTC 2017 - matwey.kornilov@gmail.com diff --git a/perl-Object-Pluggable.spec b/perl-Object-Pluggable.spec index 414f8e2..d33e538 100644 --- a/perl-Object-Pluggable.spec +++ b/perl-Object-Pluggable.spec @@ -20,20 +20,21 @@ Name: perl-Object-Pluggable Version: 1.29 Release: 0 %define cpan_name Object-Pluggable -Summary: A base class for creating plugin-enabled objects -License: Artistic-1.0 or GPL-2.0+ +Summary: Base Class for Creating Plugin-Enabled Objects +License: Artistic-1.0 or GPL-1.0+ Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/Object-Pluggable/ -#Source: http://www.cpan.org/authors/id/H/HI/HINRIK/Object-Pluggable-%{version}.tar.gz -Source: %{cpan_name}-%{version}.tar.gz +Source0: https://cpan.metacpan.org/authors/id/H/HI/HINRIK/%{cpan_name}-%{version}.tar.gz +Source1: cpanspec.yml +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros +BuildRequires: perl(Pod::Parser) >= 1.36 BuildRequires: perl(Task::Weaken) BuildRequires: perl(constant) >= 1.17 Requires: perl(Task::Weaken) Requires: perl(constant) >= 1.17 -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildArch: noarch %{perl_requires} %description @@ -70,11 +71,9 @@ as the return value of 'normal' plugin handlers. %perl_process_packlist %perl_gen_filelist -%clean -%{__rm} -rf %{buildroot} - %files -f %{name}.files -%defattr(644,root,root,755) -%doc Changes dist.ini examples LICENSE README +%defattr(-,root,root,755) +%doc Changes examples README +%license LICENSE %changelog