diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d8fcf53 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/Export-Attrs-v0.1.0.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 69b9085..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# perl-Export-Attrs - -The perl-Export-Attrs package \ No newline at end of file diff --git a/perl-Export-Attrs.spec b/perl-Export-Attrs.spec new file mode 100644 index 0000000..adcb28f --- /dev/null +++ b/perl-Export-Attrs.spec @@ -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 - 0.1.0-2 +- Take into account review feedback (#1517099) + +* Fri Nov 24 2017 Emmanuel Seyman 0.1.0-1 +- Initial specfile, based on the one autogenerated by cpanspec 1.78. diff --git a/sources b/sources new file mode 100644 index 0000000..a1106a8 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (Export-Attrs-v0.1.0.tar.gz) = 0543f82798c6f4b4de71cd0989783906c5b9a7ba1163ebe49241becd978c5673fb50e4fc76462f0217d09565adad6b18be2f3c0ec34ecf56d1455d971ba94b8e