Fix FTBFS when perl is not in the SRPM build root
This commit is contained in:
parent
9d40c7582f
commit
b241a0e2d4
@ -1,6 +1,6 @@
|
|||||||
Name: perl-Package-Stash-XS
|
Name: perl-Package-Stash-XS
|
||||||
Version: 0.28
|
Version: 0.28
|
||||||
Release: 11%{?dist}
|
Release: 12%{?dist}
|
||||||
Summary: Faster and more correct implementation of the Package::Stash API
|
Summary: Faster and more correct implementation of the Package::Stash API
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
License: GPL+ or Artistic
|
License: GPL+ or Artistic
|
||||||
@ -16,8 +16,8 @@ BuildRequires: make
|
|||||||
BuildRequires: perl >= 3:5.8.1
|
BuildRequires: perl >= 3:5.8.1
|
||||||
%if "%{?rhel}" != "5"
|
%if "%{?rhel}" != "5"
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
BuildRequires: perl-generators
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: perl-generators
|
||||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
||||||
# Module Runtime
|
# Module Runtime
|
||||||
BuildRequires: perl(strict)
|
BuildRequires: perl(strict)
|
||||||
@ -36,7 +36,7 @@ BuildRequires: perl(Test::Fatal)
|
|||||||
BuildRequires: perl(Test::More)
|
BuildRequires: perl(Test::More)
|
||||||
BuildRequires: perl(Test::Requires)
|
BuildRequires: perl(Test::Requires)
|
||||||
# Optional Tests
|
# Optional Tests
|
||||||
%if %(perl -e 'print $] >= 5.014 ? 1 : 0;')
|
%if 0%{?fedora} > 15 || 0%{?rhel} > 6
|
||||||
BuildRequires: perl(Package::Anon)
|
BuildRequires: perl(Package::Anon)
|
||||||
%endif
|
%endif
|
||||||
%if "%{?rhel}" != "5"
|
%if "%{?rhel}" != "5"
|
||||||
@ -79,7 +79,7 @@ make %{?_smp_mflags}
|
|||||||
rm -rf %{buildroot}
|
rm -rf %{buildroot}
|
||||||
make pure_install DESTDIR=%{buildroot}
|
make pure_install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name .packlist -delete
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
find %{buildroot} -type f -name '*.bs' -a -empty -delete
|
find %{buildroot} -type f -name '*.bs' -empty -delete
|
||||||
%{_fixperms} %{buildroot}
|
%{_fixperms} %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -105,6 +105,9 @@ rm -rf %{buildroot}
|
|||||||
%{_mandir}/man3/Package::Stash::XS.3*
|
%{_mandir}/man3/Package::Stash::XS.3*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 21 2016 Paul Howarth <paul@city-fan.org> - 0.28-12
|
||||||
|
- Fix FTBFS when perl is not in the SRPM build root
|
||||||
|
|
||||||
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-11
|
* Sun May 15 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.28-11
|
||||||
- Perl 5.24 rebuild
|
- Perl 5.24 rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user