9
0
Stephan Kulow
2017-10-08 06:55:10 +00:00
committed by Git OBS Bridge
parent 728adfca60
commit 71d48eb1b3
3 changed files with 43 additions and 11 deletions

View File

@@ -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