forked from pool/perl-Class-Method-Modifiers
update
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Class-Method-Modifiers?expand=0&rev=21
This commit is contained in:
committed by
Git OBS Bridge
parent
e1a5a073c5
commit
12ede4bdb8
@@ -17,9 +17,9 @@
|
||||
|
||||
|
||||
Name: perl-Class-Method-Modifiers
|
||||
Version: 2.09
|
||||
Version: 2.10
|
||||
Release: 0
|
||||
%define cpan_name Class-Method-Modifiers
|
||||
%define cpan_name Class-Method-Modifiers
|
||||
Summary: provides Moose-like method modifiers
|
||||
License: Artistic-1.0 or GPL-1.0+
|
||||
Group: Development/Libraries/Perl
|
||||
@@ -29,14 +29,8 @@ BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
BuildRequires: perl(Module::Build::Tiny) >= 0.028
|
||||
BuildRequires: perl(Test::Fatal)
|
||||
BuildRequires: perl(Test::More) >= 0.94
|
||||
#BuildRequires: perl(Class::Method::Modifiers)
|
||||
#BuildRequires: perl(Pod::Wordlist)
|
||||
#BuildRequires: perl(Test::Kwalitee)
|
||||
#BuildRequires: perl(Test::NoTabs)
|
||||
#BuildRequires: perl(Test::Spelling) >= 0.12
|
||||
BuildRequires: perl(version)
|
||||
%{perl_requires}
|
||||
|
||||
%description
|
||||
@@ -81,18 +75,19 @@ manpage distribution.
|
||||
find . -type f -print0 | xargs -0 chmod 644
|
||||
|
||||
%build
|
||||
%{__perl} Build.PL --installdirs=vendor
|
||||
./Build build --flags=%{?_smp_mflags}
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
./Build test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
./Build install --destdir=%{buildroot} --create_packlist=0
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root,755)
|
||||
%doc Changes LICENSE README
|
||||
%doc Changes CONTRIBUTING LICENSE README README.md
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user