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.
perl-Export-Attrs/perl-Export-Attrs.spec

59 lines
1.7 KiB

7 years ago
Name: perl-Export-Attrs
Version: 0.1.0
Release: 3%{?dist}
7 years ago
Summary: The Perl 6 'is export(...)' trait as a Perl 5 attribute
License: GPL+ or Artistic
URL: https://metacpan.org/release/Export-Attrs
Source0: https://cpan.metacpan.org/authors/id/P/PO/POWERMAN/Export-Attrs-v%{version}.tar.gz
7 years ago
BuildArch: noarch
BuildRequires: perl-interpreter
BuildRequires: perl-generators
BuildRequires: perl(Attribute::Handlers)
BuildRequires: perl(Carp)
BuildRequires: perl(Module::Build::Tiny) >= 0.034
BuildRequires: perl(PadWalker)
BuildRequires: perl(Test::Distribution)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(strict)
BuildRequires: perl(warnings)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%{?perl_default_filter}
%description
This module is a fork of Perl6::Export::Attrs created to restore
compatibility with Perl6::Export::Attrs version 0.0.3.
%prep
%setup -q -n Export-Attrs-v%{version}
%build
%{__perl} Build.PL --installdirs=vendor
./Build
%install
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
%{_fixperms} $RPM_BUILD_ROOT/*
%check
AUTHOR_TESTING=1 RELEASE_TESTING=1 ./Build test
%files
%license LICENSE
%doc Changes README
%{perl_vendorlib}/Export*
%{_mandir}/man3/Export*
%changelog
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
7 years ago
* Fri Nov 24 2017 Emmanuel Seyman <emmanuel@seyman.fr> - 0.1.0-2
- Take into account review feedback (#1517099)
* Fri Nov 24 2017 Emmanuel Seyman <emmanuel@seyman.fr> 0.1.0-1
- Initial specfile, based on the one autogenerated by cpanspec 1.78.