|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package perl-Syntax-Keyword-Junction
|
|
|
|
# spec file for package perl-Syntax-Keyword-Junction
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
@@ -12,57 +12,53 @@
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: perl-Syntax-Keyword-Junction
|
|
|
|
|
|
|
|
Version: 0.003008
|
|
|
|
|
|
|
|
Release: 0
|
|
|
|
|
|
|
|
%define cpan_name Syntax-Keyword-Junction
|
|
|
|
%define cpan_name Syntax-Keyword-Junction
|
|
|
|
Summary: Perl6 style Junction operators in Perl5
|
|
|
|
Name: perl-Syntax-Keyword-Junction
|
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
|
|
|
Version: 0.003009
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Release: 0
|
|
|
|
Url: http://search.cpan.org/dist/Syntax-Keyword-Junction/
|
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
|
|
|
Source: http://www.cpan.org/authors/id/F/FR/FREW/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Summary: Comparisons against multiple values
|
|
|
|
|
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
|
|
|
|
|
|
|
Source0: https://cpan.metacpan.org/authors/id/H/HA/HAARG/%{cpan_name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl-macros
|
|
|
|
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
BuildRequires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
|
|
|
BuildRequires: perl(Test::Requires) >= 0.07
|
|
|
|
BuildRequires: perl(Test::Needs) >= 0.002006
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
BuildRequires: perl(parent)
|
|
|
|
BuildRequires: perl(syntax)
|
|
|
|
|
|
|
|
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
Requires: perl(Sub::Exporter::Progressive) >= 0.001006
|
|
|
|
Requires: perl(parent)
|
|
|
|
Requires: perl(parent)
|
|
|
|
Requires: perl(syntax)
|
|
|
|
|
|
|
|
%{perl_requires}
|
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
This is a lightweight module which provides 'Junction' operators, the most
|
|
|
|
This is a lightweight module which provides 'Junction' operators, the most
|
|
|
|
commonly used being 'any' and 'all'.
|
|
|
|
commonly used being 'any' and 'all'.
|
|
|
|
|
|
|
|
|
|
|
|
Inspired by the Perl6 design docs, the
|
|
|
|
Inspired by the Perl 6 design docs,
|
|
|
|
http://dev.perl.org/perl6/doc/design/exe/E06.html manpage.
|
|
|
|
https://web.archive.org/web/20230922160729/https://raku.org/archive/doc/des
|
|
|
|
|
|
|
|
ign/exe/E06.html#The%20Wonderful%20World%20of%20Junctions.
|
|
|
|
|
|
|
|
|
|
|
|
Provides a limited subset of the functionality of the
|
|
|
|
Provides a limited subset of the functionality of Quantum::Superpositions,
|
|
|
|
Quantum::Superpositions manpage, see the /"SEE ALSO" manpage for comment.
|
|
|
|
see "SEE ALSO" for comment.
|
|
|
|
|
|
|
|
|
|
|
|
Notice in the the /SYNOPSIS manpage above, that if you want to match
|
|
|
|
Notice in the SYNOPSIS above, that if you want to match against a regular
|
|
|
|
against a regular expression, you must use '==' or '!='. *Not* '=~' or
|
|
|
|
expression, you must use '==' or '!='. *Not* '=~' or '!~'. You must also
|
|
|
|
'!~'. You must also use a regex object, such as 'qr/\d/', not a plain regex
|
|
|
|
use a regex object, such as 'qr/\d/', not a plain regex such as '/\d/'.
|
|
|
|
such as '/\d/'.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%{__make} test
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_make_install
|
|
|
@@ -70,7 +66,7 @@ such as '/\d/'.
|
|
|
|
%perl_gen_filelist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%files -f %{name}.files
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%doc Changes README
|
|
|
|
%doc Changes LICENSE README
|
|
|
|
%license LICENSE
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|