Notification time stamped 2019-10-24 14:50:31 UTC From 7f0657cf6f6d960c98ed23baf0a24008198ce635 Mon Sep 17 00:00:00 2001 From: Ralf Corsépius <corse...@fedoraproject.org> Date: Feb 10 2017 15:27:32 +0000 Subject: Initial Fedora package.
--- diff --git a/.gitignore b/.gitignore index e69de29..f0e12af 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Sub-Infix-0.004.tar.gz diff --git a/perl-Sub-Infix.spec b/perl-Sub-Infix.spec new file mode 100644 index 0000000..9d44f79 --- /dev/null +++ b/perl-Sub-Infix.spec @@ -0,0 +1,57 @@ +Name: perl-Sub-Infix +Version: 0.004 +Release: 1%{?dist} +Summary: Create a fake infix operator +License: GPL+ or Artistic +URL: http://search.cpan.org/dist/Sub-Infix/ +Source0: http://www.cpan.org/authors/id/T/TO/TOBYINK/Sub-Infix-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: %{__perl} +BuildRequires: %{__make} + +BuildRequires: perl >= 0:5.006 +BuildRequires: perl-generators +BuildRequires: perl(Carp) +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(Test::Fatal) +BuildRequires: perl(Test::More) >= 0.47 +BuildRequires: perl(overload) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) + +# optional +BuildRequires: perl(Scalar::Util) +Recommends: perl(Scalar::Util) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Sub::Infix creates fake infix operators using overloading. It doesn't use +source filters, or Devel::Declare, or any of that magic. + +%prep +%setup -q -n Sub-Infix-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +%{__make} %{?_smp_mflags} + +%install +%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README CREDITS +%license COPYRIGHT LICENSE +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 03 2017 Ralf Corsépius <corse...@fedoraproject.org> 0.004-1 +- Initial Fedora package. diff --git a/sources b/sources index e69de29..31c6d66 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +SHA512 (Sub-Infix-0.004.tar.gz) = e9253bdb39e6e03569d2663d95ebb2b32bd1454dbca9d0e79def43e0e13240b8082ca5bbf3d632506d2ef60d160b67e64b2427906048e979dc9796e38bc1b2fb https://src.fedoraproject.org/rpms/perl-Sub-Infix/c/7f0657cf6f6d960c98ed23baf0a24008198ce635?branch=epel8 _______________________________________________ perl-devel mailing list -- perl-devel@lists.fedoraproject.org To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org