Specify all dependencies
This commit is contained in:
parent
52b3687867
commit
0eba102910
@ -1,6 +1,9 @@
|
||||
# Run optional test
|
||||
%bcond_without perl_Class_Data_Inheritable_enables_optional_test
|
||||
|
||||
Name: perl-Class-Data-Inheritable
|
||||
Version: 0.08
|
||||
Release: 25%{?dist}
|
||||
Release: 26%{?dist}
|
||||
Summary: Inheritable, overridable class data
|
||||
Group: Development/Libraries
|
||||
License: GPL+ or Artistic
|
||||
@ -8,13 +11,24 @@ URL: http://search.cpan.org/dist/Class-Data-Inheritable/
|
||||
Source0: http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Class-Data-Inheritable-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils
|
||||
BuildRequires: findutils
|
||||
BuildRequires: make
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
# Run-time:
|
||||
BuildRequires: perl(Carp)
|
||||
BuildRequires: perl(strict)
|
||||
BuildRequires: perl(vars)
|
||||
# Tests:
|
||||
BuildRequires: perl(base)
|
||||
BuildRequires: perl(Test::More)
|
||||
%if %{with perl_Class_Data_Inheritable_enables_optional_test}
|
||||
# Optional tests:
|
||||
BuildRequires: perl(Test::Pod) >= 1.00
|
||||
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
||||
%endif
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||
Requires: perl(Carp)
|
||||
|
||||
@ -34,7 +48,7 @@ make
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make pure_install DESTDIR=%{buildroot}
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
|
||||
find %{buildroot} -type f -name .packlist -delete
|
||||
%{_fixperms} %{buildroot}
|
||||
|
||||
%check
|
||||
@ -48,6 +62,9 @@ rm -rf %{buildroot}
|
||||
%{_mandir}/man3/Class::Data::Inheritable.3pm*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 07 2017 Petr Pisar <ppisar@redhat.com> - 0.08-26
|
||||
- Specify all dependencies
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.08-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user