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

epel9
Jitka Plesnikova 8 years ago
parent 8a7a7a1ef3
commit c9eab4dad2

@ -1,6 +1,6 @@
Name: perl-Class-Trigger
Version: 0.14
Release: 19%{?dist}
Release: 20%{?dist}
Summary: Mixin to add / call inheritable triggers
Group: Development/Libraries
License: GPL+ or Artistic
@ -9,16 +9,24 @@ Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-Trigg
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(base)
BuildRequires: perl(Carp)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(IO::Handle)
BuildRequires: perl(inc::Module::Install)
BuildRequires: perl(Module::Install::Include)
BuildRequires: perl(Module::Install::Metadata)
BuildRequires: perl(Module::Install::TestBase)
BuildRequires: perl(Module::Install::WriteAll)
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(IO::WrapTie)
BuildRequires: perl(lib)
BuildRequires: perl(strict)
BuildRequires: perl(Test::More)
BuildRequires: perl(vars)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
@ -26,6 +34,9 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%prep
%setup -q -n Class-Trigger-%{version}
# Remove bundled libraries
rm -r inc
sed -i -e '/^inc\// d' MANIFEST
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
@ -52,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue May 16 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.14-20
- Fix building on Perl without '.' in @INC
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.14-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Loading…
Cancel
Save