|
|
@ -1,15 +1,19 @@
|
|
|
|
|
|
|
|
# Perform optional tests
|
|
|
|
|
|
|
|
%bcond_without perl_Syntax_Keyword_Junction_enables_optional_test
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Syntax-Keyword-Junction
|
|
|
|
Name: perl-Syntax-Keyword-Junction
|
|
|
|
Version: 0.003008
|
|
|
|
Version: 0.003008
|
|
|
|
Release: 21%{?dist}
|
|
|
|
Release: 22%{?dist}
|
|
|
|
Summary: Perl6 style Junction operators in Perl5
|
|
|
|
Summary: Perl6 style Junction operators in Perl5
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
URL: https://metacpan.org/release/Syntax-Keyword-Junction
|
|
|
|
URL: https://metacpan.org/release/Syntax-Keyword-Junction
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Junction-%{version}.tar.gz
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/F/FR/FREW/Syntax-Keyword-Junction-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: coreutils
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl-generators
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30
|
|
|
|
BuildRequires: perl-interpreter
|
|
|
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(strict)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
BuildRequires: perl(warnings)
|
|
|
|
# Run-time:
|
|
|
|
# Run-time:
|
|
|
@ -20,9 +24,11 @@ BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
# Tests:
|
|
|
|
# Tests:
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.07
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.07
|
|
|
|
BuildRequires: perl(syntax)
|
|
|
|
%if %{with perl_Syntax_Keyword_Junction_enables_optional_test}
|
|
|
|
# Optional tests:
|
|
|
|
# Optional tests:
|
|
|
|
BuildRequires: perl(Sub::Exporter) >= 0.986
|
|
|
|
BuildRequires: perl(Sub::Exporter) >= 0.986
|
|
|
|
|
|
|
|
BuildRequires: perl(syntax)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
|
|
|
Requires: perl(if)
|
|
|
|
Requires: perl(if)
|
|
|
|
Requires: perl(overload)
|
|
|
|
Requires: perl(overload)
|
|
|
@ -38,25 +44,36 @@ commonly used being any and all. Inspired by the Perl6 design docs,
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n Syntax-Keyword-Junction-%{version}
|
|
|
|
%setup -q -n Syntax-Keyword-Junction-%{version}
|
|
|
|
|
|
|
|
for F in t/release-pod-syntax.t \
|
|
|
|
|
|
|
|
%if %{without perl_Syntax_Keyword_Junction_enables_optional_test}
|
|
|
|
|
|
|
|
t/smartmatch.t t/syntax.t \
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
; do
|
|
|
|
|
|
|
|
rm "$F"
|
|
|
|
|
|
|
|
perl -i -ne 'print $_ unless m{^\E'"$F"'\Q}' MANIFEST
|
|
|
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
%{make_build}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
%{make_install}
|
|
|
|
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
%{_fixperms} $RPM_BUILD_ROOT/*
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
%doc Changes README
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 10 2022 Petr Pisar <ppisar@redhat.com> - 0.003008-22
|
|
|
|
|
|
|
|
- Modernize a spec file
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.003008-21
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.003008-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|