Name: perl-Module-Install-TrustMetaYml
Version: 0.003
Release: 2%{?dist}
Summary: Trusts META.yml list of dependencies
# HACKING: CC-BY-SA
# other files: GPL+ Artistic
License: (GPL+ or Artistic) and CC-BY-SA
Group: Development/Libraries
URL: http://search.cpan.org/dist/Module-Install-TrustMetaYml/
Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-TrustMetaYml-%{version}.tar.gz
# To boostrap this package without bundling
Patch0: Module-Install-TrustMetaYml-0.003-Build-without-bundled-Module-Package-modules.patch
BuildArch: noarch
BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
BuildRequires: perl-generators
BuildRequires: perl(inc::Module::Package)
# Run-time:
BuildRequires: perl(base)
BuildRequires: perl(Module::Install::Base)
BuildRequires: perl(strict)
# YAML::Tiny not used at tests
# Tests:
BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(YAML::Tiny)
%description
This module is a Module::Install plugin that generates MYMETA.yml by simply
passing through the dependencies from META.yml. It does nothing when run from
the module author's development copy.
%prep
%setup -q -n Module-Install-TrustMetaYml-%{version}
%patch0 -p1
# Remove bundled modules
rm -rf ./inc
sed -i -e '/^inc\//d' MANIFEST
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -delete
%{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%license LICENSE
%doc Changes COPYRIGHT CREDITS HACKING README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.003-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu May 26 2016 Petr Pisar <ppisar@redhat.com> 0.003-1
- Specfile autogenerated by cpanspec 1.78.