From 05b6a552dd61c9103c34466aaef175c487fff1ec Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Fri, 11 Feb 2022 16:58:45 +0100 Subject: [PATCH] Import Syntax::Keyword::Junction --- .gitattributes | 1 + Syntax-Keyword-Junction-0.003008.tar.gz | 3 ++ perl-Syntax-Keyword-Junction.spec | 57 +++++++++++++++++++++++++ 3 files changed, 61 insertions(+) create mode 100644 .gitattributes create mode 100644 Syntax-Keyword-Junction-0.003008.tar.gz create mode 100644 perl-Syntax-Keyword-Junction.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..f087b42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.tar.gz filter=lfs diff=lfs merge=lfs -text diff --git a/Syntax-Keyword-Junction-0.003008.tar.gz b/Syntax-Keyword-Junction-0.003008.tar.gz new file mode 100644 index 0000000..a1787d5 --- /dev/null +++ b/Syntax-Keyword-Junction-0.003008.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8b4975f21b1992a7e6c2df5dcc92b254c61925595eddcdfaf0b1498717aa95ef +size 17511 diff --git a/perl-Syntax-Keyword-Junction.spec b/perl-Syntax-Keyword-Junction.spec new file mode 100644 index 0000000..b948adf --- /dev/null +++ b/perl-Syntax-Keyword-Junction.spec @@ -0,0 +1,57 @@ +Name: perl-Syntax-Keyword-Junction +Version: 0.003008 +Release: 1%{?dist} +Summary: Perl6 style Junction operators in Perl5 +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Syntax-Keyword-Junction/ +Source0: http://www.cpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Junction-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(parent) +BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006 +BuildRequires: perl(syntax) +BuildRequires: perl(Test::More) >= 0.88 +BuildRequires: perl(Test::Requires) >= 0.07 +Requires: perl(parent) +Requires: perl(Sub::Exporter::Progressive) >= 0.001006 +Requires: perl(syntax) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This is a lightweight module which provides 'Junction' operators, the most +commonly used being any and all. + +%prep +%setup -q -n Syntax-Keyword-Junction-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes cpanfile dist.ini LICENSE META.json README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Feb 11 2022 Daniel Berteaud 0.003008-1 +- Specfile autogenerated by cpanspec 1.78.