forked from pool/perl-Object-Pluggable
- regenerate with cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Object-Pluggable?expand=0&rev=6
This commit is contained in:
committed by
Git OBS Bridge
parent
728adfca60
commit
71d48eb1b3
28
cpanspec.yml
Normal file
28
cpanspec.yml
Normal file
@@ -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
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user