perl-Role-Tiny/perl-Role-Tiny.spec
2020-01-11 17:42:27 +08:00

51 lines
1.4 KiB
RPMSpec

Name: perl-Role-Tiny
Version: 2.001004
Release: 2
Summary: A nouvelle cuisine portion size slice of Moose
License: GPL+ or Artistic
URL: https://metacpan.org/release/Role-Tiny
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/Role-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: coreutils make perl-generators perl-interpreter perl(ExtUtils::MakeMaker) >= 6.76 perl(Carp)
BuildRequires: perl(Class::Method::Modifiers) >= 1.05 perl(Exporter) perl(mro) perl(strict) perl(warnings)
BuildRequires: perl(base) perl(constant) perl(lib) perl(overload) perl(Test::More) >= 0.88
Requires: perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
Requires: perl(Carp) perl(Class::Method::Modifiers) >= 1.05 perl(mro)
Conflicts: perl-Moo < 0.009014
%description
Role::Tiny is a minimalist role composition tool.
%package_help
%prep
%autosetup -n Role-Tiny-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%make_install
%{_fixperms} -c %{buildroot}
%check
%make_build test
%files
%defattr(-,root,root)
%doc README
%license LICENSE
%{perl_vendorlib}/Role/
%files help
%defattr(-,root,root)
%doc Changes
%{_mandir}/man3/Role::Tiny.3*
%{_mandir}/man3/Role::Tiny::With.3*
%changelog
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.001004-2
- Package init