You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
82 lines
2.6 KiB
82 lines
2.6 KiB
Name: perl-Specio-Library-Path-Tiny
|
|
Version: 0.04
|
|
Release: 7%{?dist}
|
|
Summary: Path::Tiny types and coercions for Specio
|
|
License: ASL 2.0
|
|
URL: https://metacpan.org/release/Specio-Library-Path-Tiny
|
|
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/Specio-Library-Path-Tiny-%{version}.tar.gz
|
|
BuildArch: noarch
|
|
# Build
|
|
BuildRequires: make
|
|
BuildRequires: perl-interpreter
|
|
BuildRequires: perl-generators
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
BuildRequires: perl(strict)
|
|
BuildRequires: perl(warnings)
|
|
# Run-time
|
|
BuildRequires: perl(overload)
|
|
BuildRequires: perl(parent)
|
|
BuildRequires: perl(Path::Tiny) >= 0.087
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Specio) >= 0.29
|
|
BuildRequires: perl(Specio::Declare)
|
|
BuildRequires: perl(Specio::Exporter)
|
|
BuildRequires: perl(Specio::Library::Builtins)
|
|
BuildRequires: perl(Specio::PartialDump)
|
|
# Tests
|
|
BuildRequires: perl(File::pushd)
|
|
BuildRequires: perl(File::Spec)
|
|
BuildRequires: perl(File::Temp) >= 0.18
|
|
BuildRequires: perl(Test::Fatal)
|
|
BuildRequires: perl(Test::More) >= 0.96
|
|
BuildRequires: perl(Test::Specio)
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
%description
|
|
This library provides a set of Path::Tiny types and coercions for Specio.
|
|
These types can be used with Moose, Moo, Params::ValidationCompiler, and
|
|
other modules.
|
|
|
|
%prep
|
|
%setup -q -n Specio-Library-Path-Tiny-%{version}
|
|
|
|
%build
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%check
|
|
make test
|
|
|
|
|
|
%files
|
|
%license LICENSE
|
|
%doc Changes CONTRIBUTING.md README.md
|
|
%{perl_vendorlib}/*
|
|
%{_mandir}/man3/*
|
|
|
|
%changelog
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-6
|
|
- Perl 5.28 rebuild
|
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
* Tue Jun 06 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.04-3
|
|
- Perl 5.26 rebuild
|
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.04-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
* Mon Oct 17 2016 Jitka Plesnikova <jplesnik@redhat.com> 0.04-1
|
|
- Initial release
|