8
0
Stephan Kulow
2015-04-30 06:14:16 +00:00
committed by Git OBS Bridge
parent 0bb685fbc5
commit c41849c90c
2 changed files with 31 additions and 6 deletions

View File

@@ -21,17 +21,19 @@ Version: 0.002
Release: 0
%define cpan_name Module-Runtime-Conflicts
Summary: Provide information on conflicts for Module::Runtime
License: This is free software and you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
License: Artistic-1.0 or GPL-1.0+
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/Module-Runtime-Conflicts/
Source: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source0: http://www.cpan.org/authors/id/E/ET/ETHER/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Dist::CheckConflicts)
BuildRequires: perl(Module::Build)
BuildRequires: perl(Module::Build::Tiny) >= 0.039
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Test::More) >= 0.88
Requires: perl(Dist::CheckConflicts)
Requires: perl(Module::Runtime)
%{perl_requires}
@@ -45,14 +47,14 @@ It is called from the Moose::Conflicts manpage and 'moose-outdated'.
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%{__perl} Build.PL --installdirs=vendor
./Build build --flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
./Build install --destdir=%{buildroot} --create_packlist=0
%perl_gen_filelist
%files -f %{name}.files