parent
1b0788bd1b
commit
d5ea5a180b
@ -0,0 +1 @@
|
|||||||
|
/Export-Attrs-v0.1.0.tar.gz
|
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-Export-Attrs
|
||||||
|
Version: 0.1.0
|
||||||
|
Release: 2%{?dist}
|
||||||
|
Summary: The Perl 6 'is export(...)' trait as a Perl 5 attribute
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
|
||||||
|
URL: http://search.cpan.org/dist/Export-Attrs/
|
||||||
|
Source0: http://www.cpan.org/authors/id/P/PO/POWERMAN/Export-Attrs-v%{version}.tar.gz
|
||||||
|
|
||||||
|
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
|
||||||
|
* 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.
|
Loading…
Reference in new issue