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

85 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 888629 from devel:languages:perl:autoupdate - updated to 1.54 see /usr/share/doc/packages/perl-Workflow/Changes.md ## 1.54 2021-04-25 Minor feature release, update not required - The existing private API: `Workflow->_get_action()` has been made public as: `get_action()` via PR [#56](https://github.com/jonasbn/perl-workflow/pull/56) addressing issue [#54](https://github.com/jonasbn/perl-workflow/issues/54), a private version is still available as `_get_action()` ensuring backwards compatibility. The change should improve and ease implementations where actions are consumed - The existing methods: `fields()`, `optional_fields()` and `required_fields` have all been made public PR [#57](https://github.com/jonasbn/perl-workflow/pull/57) addressing issue [#55](https://github.com/jonasbn/perl-workflow/issues/55) these methods provide information a UI or other consumer of the workflow could use for user interaction as for issue [#54](https://github.com/jonasbn/perl-workflow/issues/54) and PR: [#56](https://github.com/jonasbn/perl-workflow/pull/56) mentioned above - The implementation of caching for evaluation of nested has been revisted and improved via PR [#90](https://github.com/jonasbn/perl-workflow/pull/90) - A minor issue has been corrected in the documentation was corrected via PR [#111](https://github.com/jonasbn/perl-workflow/pull/111), it seems some design ideas had snuck into the documentation a long time ago, without ever being implemented OBS-URL: https://build.opensuse.org/request/show/888629 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Workflow?expand=0&rev=18
2021-04-29 15:07:09 +00:00
Version: 1.54
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
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