1
0
forked from perl/perl-Workflow
Files
perl-Workflow/perl-Workflow.spec

87 lines
2.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Workflow
#
Accepting request 863100 from devel:languages:perl:autoupdate - updated to 1.49 see /usr/share/doc/packages/perl-Workflow/Changes 1.49 2021-01-08 Maintenance and minor feature release, update not required - Addressed an issue with return values from Workflow::Condition::GreedyOR's `evaluate_condition`, PR #50 from Erik Huelsmann - Fixed a bug in condition caching described in issue #9, PR #27 from Erik Huelsmann - Fixed a bug in Workflow::Condition::LazyAND with wrongful return values, PR #40 from Erik Huelsmann - Fixed a bug in Workflow::Validator::InEnumeratedType with wrongful naming, PR #33 from Erik Huelsmann - Updated Dist::Zilla configuration and added LICENSE file to repository based on generated from Dist::Zilla build, this should be automated like the README generation at some point - Improved internal handling for quoting in internal SQL statements, PR #30 from Erik Huelsmann - Improved the SQL used for database creation by adding referentiel integrity, PR #29 from Erik Huelsmann - Addressed a bug in initialization and improved the ability to handle a database handle, PR #32 from Erik Huelsmann - Improved loading of external of a few dependencies, improving error handling, PR #31 from Erik Huelsmann - Additions to test suite, WIP on better scoped condition caching, PR #26 from Erik Huelsmann - Minor feature addition addressing issue #5 with condition caching, PR #25 from Erik Huelsmann Condition caching can be disabled by setting: $Workflow::Condition::CACHE_RESULTS = 0; # false The default is 1, indicating true, - Improvements to test suite, moved from time to counter, speeding up the test, PR #24 from Erik Huelsmann - Documentation updates, PR #23 from Erik Huelsmann - Addressing issue #21 fixing broken URLs, PR #22 from Erik Huelsmann OBS-URL: https://build.opensuse.org/request/show/863100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=13
2021-01-14 14:30:27 +00:00
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Accepting request 863100 from devel:languages:perl:autoupdate - updated to 1.49 see /usr/share/doc/packages/perl-Workflow/Changes 1.49 2021-01-08 Maintenance and minor feature release, update not required - Addressed an issue with return values from Workflow::Condition::GreedyOR's `evaluate_condition`, PR #50 from Erik Huelsmann - Fixed a bug in condition caching described in issue #9, PR #27 from Erik Huelsmann - Fixed a bug in Workflow::Condition::LazyAND with wrongful return values, PR #40 from Erik Huelsmann - Fixed a bug in Workflow::Validator::InEnumeratedType with wrongful naming, PR #33 from Erik Huelsmann - Updated Dist::Zilla configuration and added LICENSE file to repository based on generated from Dist::Zilla build, this should be automated like the README generation at some point - Improved internal handling for quoting in internal SQL statements, PR #30 from Erik Huelsmann - Improved the SQL used for database creation by adding referentiel integrity, PR #29 from Erik Huelsmann - Addressed a bug in initialization and improved the ability to handle a database handle, PR #32 from Erik Huelsmann - Improved loading of external of a few dependencies, improving error handling, PR #31 from Erik Huelsmann - Additions to test suite, WIP on better scoped condition caching, PR #26 from Erik Huelsmann - Minor feature addition addressing issue #5 with condition caching, PR #25 from Erik Huelsmann Condition caching can be disabled by setting: $Workflow::Condition::CACHE_RESULTS = 0; # false The default is 1, indicating true, - Improvements to test suite, moved from time to counter, speeding up the test, PR #24 from Erik Huelsmann - Documentation updates, PR #23 from Erik Huelsmann - Addressing issue #21 fixing broken URLs, PR #22 from Erik Huelsmann OBS-URL: https://build.opensuse.org/request/show/863100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=13
2021-01-14 14:30:27 +00:00
%define cpan_name Workflow
Name: perl-Workflow
Version: 1.50
Release: 0
Summary: Simple, flexible system to implement workflows
License: Artistic-1.0 OR GPL-1.0-or-later
Accepting request 863100 from devel:languages:perl:autoupdate - updated to 1.49 see /usr/share/doc/packages/perl-Workflow/Changes 1.49 2021-01-08 Maintenance and minor feature release, update not required - Addressed an issue with return values from Workflow::Condition::GreedyOR's `evaluate_condition`, PR #50 from Erik Huelsmann - Fixed a bug in condition caching described in issue #9, PR #27 from Erik Huelsmann - Fixed a bug in Workflow::Condition::LazyAND with wrongful return values, PR #40 from Erik Huelsmann - Fixed a bug in Workflow::Validator::InEnumeratedType with wrongful naming, PR #33 from Erik Huelsmann - Updated Dist::Zilla configuration and added LICENSE file to repository based on generated from Dist::Zilla build, this should be automated like the README generation at some point - Improved internal handling for quoting in internal SQL statements, PR #30 from Erik Huelsmann - Improved the SQL used for database creation by adding referentiel integrity, PR #29 from Erik Huelsmann - Addressed a bug in initialization and improved the ability to handle a database handle, PR #32 from Erik Huelsmann - Improved loading of external of a few dependencies, improving error handling, PR #31 from Erik Huelsmann - Additions to test suite, WIP on better scoped condition caching, PR #26 from Erik Huelsmann - Minor feature addition addressing issue #5 with condition caching, PR #25 from Erik Huelsmann Condition caching can be disabled by setting: $Workflow::Condition::CACHE_RESULTS = 0; # false The default is 1, indicating true, - Improvements to test suite, moved from time to counter, speeding up the test, PR #24 from Erik Huelsmann - Documentation updates, PR #23 from Erik Huelsmann - Addressing issue #21 fixing broken URLs, PR #22 from Erik Huelsmann OBS-URL: https://build.opensuse.org/request/show/863100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=13
2021-01-14 14:30:27 +00:00
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/J/JO/JONASBN/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Class::Accessor) >= 0.18
BuildRequires: perl(Class::Factory) >= 1.00
BuildRequires: perl(Class::Observable) >= 1.04
BuildRequires: perl(DBD::Mock) >= 0.10
BuildRequires: perl(DBI)
BuildRequires: perl(Data::UUID)
BuildRequires: perl(DateTime) >= 0.15
BuildRequires: perl(DateTime::Format::Strptime) >= 1.00
BuildRequires: perl(Exception::Class) >= 1.10
BuildRequires: perl(File::Slurp)
BuildRequires: perl(List::MoreUtils)
BuildRequires: perl(Log::Log4perl) >= 0.34
BuildRequires: perl(Module::Build) >= 0.300000
BuildRequires: perl(Pod::Coverage::TrustPod)
BuildRequires: perl(Test::Exception)
BuildRequires: perl(Test::Kwalitee) >= 1.21
BuildRequires: perl(Test::More) >= 0.88
BuildRequires: perl(Test::Pod) >= 1.41
BuildRequires: perl(Test::Pod::Coverage) >= 1.08
BuildRequires: perl(XML::Simple) >= 2.00
Requires: perl(Class::Accessor) >= 0.18
Requires: perl(Class::Factory) >= 1.00
Requires: perl(Class::Observable) >= 1.04
Requires: perl(DBI)
Requires: perl(Data::UUID)
Requires: perl(DateTime) >= 0.15
Requires: perl(DateTime::Format::Strptime) >= 1.00
Requires: perl(Exception::Class) >= 1.10
Requires: perl(File::Slurp)
Requires: perl(Log::Log4perl) >= 0.34
Requires: perl(XML::Simple) >= 2.00
Recommends: perl(SPOPS)
%{perl_requires}
%description
Simple, flexible system to implement workflows
%prep
Accepting request 863100 from devel:languages:perl:autoupdate - updated to 1.49 see /usr/share/doc/packages/perl-Workflow/Changes 1.49 2021-01-08 Maintenance and minor feature release, update not required - Addressed an issue with return values from Workflow::Condition::GreedyOR's `evaluate_condition`, PR #50 from Erik Huelsmann - Fixed a bug in condition caching described in issue #9, PR #27 from Erik Huelsmann - Fixed a bug in Workflow::Condition::LazyAND with wrongful return values, PR #40 from Erik Huelsmann - Fixed a bug in Workflow::Validator::InEnumeratedType with wrongful naming, PR #33 from Erik Huelsmann - Updated Dist::Zilla configuration and added LICENSE file to repository based on generated from Dist::Zilla build, this should be automated like the README generation at some point - Improved internal handling for quoting in internal SQL statements, PR #30 from Erik Huelsmann - Improved the SQL used for database creation by adding referentiel integrity, PR #29 from Erik Huelsmann - Addressed a bug in initialization and improved the ability to handle a database handle, PR #32 from Erik Huelsmann - Improved loading of external of a few dependencies, improving error handling, PR #31 from Erik Huelsmann - Additions to test suite, WIP on better scoped condition caching, PR #26 from Erik Huelsmann - Minor feature addition addressing issue #5 with condition caching, PR #25 from Erik Huelsmann Condition caching can be disabled by setting: $Workflow::Condition::CACHE_RESULTS = 0; # false The default is 1, indicating true, - Improvements to test suite, moved from time to counter, speeding up the test, PR #24 from Erik Huelsmann - Documentation updates, PR #23 from Erik Huelsmann - Addressing issue #21 fixing broken URLs, PR #22 from Erik Huelsmann OBS-URL: https://build.opensuse.org/request/show/863100 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=13
2021-01-14 14:30:27 +00:00
%autosetup -n %{cpan_name}-%{version}
%build
perl Build.PL installdirs=vendor
./Build build flags=%{?_smp_mflags}
%check
./Build test
%install
./Build install destdir=%{buildroot} create_packlist=0
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CONTRIBUTING.md doc README
%license LICENSE
%changelog