Specify all dependencies
This commit is contained in:
parent
fb40ba9d6c
commit
cb15ed708c
@ -3,22 +3,33 @@
|
|||||||
|
|
||||||
Name: perl-Tie-IxHash
|
Name: perl-Tie-IxHash
|
||||||
Version: 1.23
|
Version: 1.23
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Ordered associative arrays for Perl
|
Summary: Ordered associative arrays for Perl
|
||||||
|
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
URL: http://search.cpan.org/dist/Tie-IxHash/
|
URL: http://search.cpan.org/dist/Tie-IxHash/
|
||||||
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
|
Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Tie-IxHash-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
BuildRequires: perl-generators
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker), perl(Test::More)
|
BuildRequires: perl-interpreter
|
||||||
|
BuildRequires: sed
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
# Run-time:
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.5
|
||||||
|
BuildRequires: perl(integer)
|
||||||
|
BuildRequires: perl(strict)
|
||||||
|
BuildRequires: perl(Tie::Hash)
|
||||||
|
BuildRequires: perl(vars)
|
||||||
|
# Tests:
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
%if %{with perl_Tie_IxHash_enables_optional_test} && !%{defined perl_bootstrap}
|
%if %{with perl_Tie_IxHash_enables_optional_test} && !%{defined perl_bootstrap}
|
||||||
BuildRequires: perl(Test::Pod)
|
# Optional tests:
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
%endif
|
%endif
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This Perl module implements Perl hashes that preserve the order in
|
This Perl module implements Perl hashes that preserve the order in
|
||||||
@ -36,15 +47,12 @@ sed -i -e 's/\r$//' Changes README
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||||
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
|
||||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
|
||||||
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} ';' 2>/dev/null
|
|
||||||
chmod -R u+w $RPM_BUILD_ROOT/*
|
chmod -R u+w $RPM_BUILD_ROOT/*
|
||||||
|
|
||||||
|
|
||||||
@ -52,18 +60,17 @@ chmod -R u+w $RPM_BUILD_ROOT/*
|
|||||||
make test
|
make test
|
||||||
|
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc Changes README
|
%doc Changes README
|
||||||
%{perl_vendorlib}/Tie/
|
%{perl_vendorlib}/Tie/
|
||||||
%{_mandir}/man3/*.3pm*
|
%{_mandir}/man3/*.3pm*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 15 2017 Petr Pisar <ppisar@redhat.com> - 1.23-12
|
||||||
|
- Specify all dependencies
|
||||||
|
- Modernize spec file
|
||||||
|
|
||||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-11
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.23-11
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user