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

86 lines
2.7 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
Accepting request 914425 from devel:languages:perl:autoupdate - updated to 1.56 see /usr/share/doc/packages/perl-Workflow/Changes.md ## DEPRECATION NOTICE - With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underline this fact. SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow. ## 1.56 2021-07-28 Bug fix release, update recommended - PR [#139](https://github.com/jonasbn/perl-workflow/pull/139) addresses an issue introduced in 1.55, where action configurations would contain unnecessary information - Elimination of global state, with improved abstraction the complexity could be removed via PR [#140](https://github.com/jonasbn/perl-workflow/pull/140) - PR [#141](https://github.com/jonasbn/perl-workflow/pull/141) improves test suite, following up on PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) - PR [#132](https://github.com/jonasbn/perl-workflow/pull/132) follows up on issue [#129](https://github.com/jonasbn/perl-workflow/issues/129) by improving documentation on group property of Workflow::Action - Elimination of warning about undefined value, which surfaced with release 1.55, adressed with PR [#135](https://github.com/jonasbn/perl-workflow/pull/135) - PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) documents the importance of overriding `init` for processing of parameters and not using `new` - PR [#130](https://github.com/jonasbn/perl-workflow/pull/130) addresses issue [#129](https://github.com/jonasbn/perl-workflow/issues/129), respects encapsulation by adhering to the API - Improves some error and log messages via PR [#128](https://github.com/jonasbn/perl-workflow/pull/128) ## 1.55 2021-07-09 Minor feature release, update not required - PR [#119](https://github.com/jonasbn/perl-workflow/pull/119) adds capability of configuring custom workflow classes addressing issue [#107](https://github.com/jonasbn/perl-workflow/issues/107) - Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant - `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements, what is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix - Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113) - A warning emitted from the test suite has been addressed via PR [#115](https://github.com/jonasbn/perl-workflow/pull/115) - A timing issue observed with the Travis CI setup have been addressed in PR [#112](https://github.com/jonasbn/perl-workflow/pull/112) OBS-URL: https://build.opensuse.org/request/show/914425 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=19
2021-08-31 09:30:06 +00:00
Version: 1.56
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(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
Accepting request 914425 from devel:languages:perl:autoupdate - updated to 1.56 see /usr/share/doc/packages/perl-Workflow/Changes.md ## DEPRECATION NOTICE - With release 2.00 Workflow::Persister::SPOPS will no longer be included in the distribution, it will possibly be made available as a separate distribution, but with decreased maintenance efforts. [SPOPS](https://metacpan.org/pod/SPOPS) does no longer seem to be actively supported and [issues with Perls versions from 5.11.1 and onwards](http://matrix.cpantesters.org/?dist=SPOPS+0.87) underline this fact. SPOPS was developed by the original author of Workflow and the two have worked in parallel for a long time. The Workflow developers have come to a crossroad and focus of resources and efforts are aimed at modernizing workflow. ## 1.56 2021-07-28 Bug fix release, update recommended - PR [#139](https://github.com/jonasbn/perl-workflow/pull/139) addresses an issue introduced in 1.55, where action configurations would contain unnecessary information - Elimination of global state, with improved abstraction the complexity could be removed via PR [#140](https://github.com/jonasbn/perl-workflow/pull/140) - PR [#141](https://github.com/jonasbn/perl-workflow/pull/141) improves test suite, following up on PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) - PR [#132](https://github.com/jonasbn/perl-workflow/pull/132) follows up on issue [#129](https://github.com/jonasbn/perl-workflow/issues/129) by improving documentation on group property of Workflow::Action - Elimination of warning about undefined value, which surfaced with release 1.55, adressed with PR [#135](https://github.com/jonasbn/perl-workflow/pull/135) - PR [#131](https://github.com/jonasbn/perl-workflow/pull/131) documents the importance of overriding `init` for processing of parameters and not using `new` - PR [#130](https://github.com/jonasbn/perl-workflow/pull/130) addresses issue [#129](https://github.com/jonasbn/perl-workflow/issues/129), respects encapsulation by adhering to the API - Improves some error and log messages via PR [#128](https://github.com/jonasbn/perl-workflow/pull/128) ## 1.55 2021-07-09 Minor feature release, update not required - PR [#119](https://github.com/jonasbn/perl-workflow/pull/119) adds capability of configuring custom workflow classes addressing issue [#107](https://github.com/jonasbn/perl-workflow/issues/107) - Simplified logging handing in code base via PR [#108](https://github.com/jonasbn/perl-workflow/pull/108) investigation into possible performance issue described in [#89](https://github.com/jonasbn/perl-workflow/issues/89) determined penalty to be insignificant - `Workflow::State->get_conditions()` now returns all conditions, fixed via PR [#122](https://github.com/jonasbn/perl-workflow/pull/122) addressing issue [#121](https://github.com/jonasbn/perl-workflow/issues/121), This fix actually implements, what is documented, but if you rely on previously undocumented behaviour, you might need to evaluate this fix - Issue with broken support action attribute specified in the state config has been addressed via PR [#123](https://github.com/jonasbn/perl-workflow/pull/123) described in issue [#113](https://github.com/jonasbn/perl-workflow/issues/113) - A warning emitted from the test suite has been addressed via PR [#115](https://github.com/jonasbn/perl-workflow/pull/115) - A timing issue observed with the Travis CI setup have been addressed in PR [#112](https://github.com/jonasbn/perl-workflow/pull/112) OBS-URL: https://build.opensuse.org/request/show/914425 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=19
2021-08-31 09:30:06 +00:00
BuildRequires: perl(Mock::MonkeyPatch)
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(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
Accepting request 871396 from devel:languages:perl:autoupdate - updated to 1.52 see /usr/share/doc/packages/perl-Workflow/Changes.md ## 1.52 2021-02-11 Bug fix release, update recommended - Addressed bug/issue [#95](https://github.com/jonasbn/perl-workflow/issues/95) via PR [#96](https://github.com/jonasbn/perl-workflow/pull/96), the issue was introduced with PR [#85](https://github.com/jonasbn/perl-workflow/pull/85) in release 1.51 - Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98)) - Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99)) - Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution - More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage OBS-URL: https://build.opensuse.org/request/show/871396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=16
2021-02-15 12:37:43 +00:00
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
Accepting request 871396 from devel:languages:perl:autoupdate - updated to 1.52 see /usr/share/doc/packages/perl-Workflow/Changes.md ## 1.52 2021-02-11 Bug fix release, update recommended - Addressed bug/issue [#95](https://github.com/jonasbn/perl-workflow/issues/95) via PR [#96](https://github.com/jonasbn/perl-workflow/pull/96), the issue was introduced with PR [#85](https://github.com/jonasbn/perl-workflow/pull/85) in release 1.51 - Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98)) - Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99)) - Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution - More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage OBS-URL: https://build.opensuse.org/request/show/871396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=16
2021-02-15 12:37:43 +00:00
make test
%install
Accepting request 871396 from devel:languages:perl:autoupdate - updated to 1.52 see /usr/share/doc/packages/perl-Workflow/Changes.md ## 1.52 2021-02-11 Bug fix release, update recommended - Addressed bug/issue [#95](https://github.com/jonasbn/perl-workflow/issues/95) via PR [#96](https://github.com/jonasbn/perl-workflow/pull/96), the issue was introduced with PR [#85](https://github.com/jonasbn/perl-workflow/pull/85) in release 1.51 - Improvements to Dist::Zilla config, only ExtUtils::MakeMaker supported via Dist::Zilla now. Module::Build support having been removed. See the [article by Neil Bowers](https://neilb.org/2015/05/18/two-build-files-considered-harmful.html) (NEILB) on the topic. Thanks to Karen Etheridge (ETHER) for information and link to the above-mentioned article (issue [#93](https://github.com/jonasbn/perl-workflow/issues/95), resolved via PR [#98](https://github.com/jonasbn/perl-workflow/pull/98)) - Documentation in `INSTALL` file updated, the information was somewhat scarce and outdated (issue [#92](https://github.com/jonasbn/perl-workflow/issues/92), resolved via PR [#99](https://github.com/jonasbn/perl-workflow/pull/99)) - Some URLs fixed via PR [#97](https://github.com/jonasbn/perl-workflow/pull/97), thanks to Michiel W. Beijen for the contribution - More unit-tests added via PR [#94](https://github.com/jonasbn/perl-workflow/pull/94), continued work on issue [#36](https://github.com/jonasbn/perl-workflow/pull/94) improving test coverage OBS-URL: https://build.opensuse.org/request/show/871396 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=16
2021-02-15 12:37:43 +00:00
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes.md CONTRIBUTING.md README
%license LICENSE
%changelog