Fix building on Perl without '.' in @INC (CPAN RT#120981)

epel9
Jitka Plesnikova 8 years ago
parent b4a8ff44d7
commit 8aad3333eb

@ -1,7 +1,7 @@
Name: perl-MouseX-Types
Summary: Organize your Mouse types in libraries
Version: 0.06
Release: 14%{?dist}
Release: 15%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0: http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/MouseX-Types-%{version}.tar.gz
@ -11,12 +11,25 @@ BuildArch: noarch
BuildRequires: perl-generators
BuildRequires: perl(Any::Moose) >= 0.15
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.42
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(constant)
BuildRequires: perl(FindBin)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(lib)
BuildRequires: perl(Module::Install::AuthorTests)
BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(Module::Install::Repository)
BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(Mouse) >= 0.77
BuildRequires: perl(Mouse::Exporter)
BuildRequires: perl(Mouse::Util::TypeConstraints)
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(strict)
BuildRequires: perl(Sub::Exporter)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::More)
BuildRequires: perl(warnings)
Requires: perl(Mouse) >= 0.41
@ -36,6 +49,9 @@ This library was split off from Mouse as of Mouse 0.15.
%prep
%setup -q -n MouseX-Types-%{version}
# Remove bundled libraries
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
find lib -type f -name '*.pm' -print0 | xargs -0 chmod 0644
chmod 0644 t/*.t
@ -60,6 +76,9 @@ make test
%{_mandir}/man3/*.3*
%changelog
* Tue May 23 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.06-15
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.06-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save