2019-01-30 06:49:22 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Mojo-Redis
|
|
|
|
#
|
2022-03-08 11:48:46 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2019-01-30 06:49:22 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-03-03 13:00:54 +00:00
|
|
|
%define cpan_name Mojo-Redis
|
2019-01-30 06:49:22 +00:00
|
|
|
Name: perl-Mojo-Redis
|
2022-03-08 11:48:46 +00:00
|
|
|
Version: 3.29
|
2019-01-30 06:49:22 +00:00
|
|
|
Release: 0
|
|
|
|
License: Artistic-2.0
|
2022-03-08 11:48:46 +00:00
|
|
|
Summary: Redis driver based on Mojo::IOLoop
|
2020-10-13 11:01:32 +00:00
|
|
|
URL: https://metacpan.org/release/%{cpan_name}
|
2019-01-30 06:49:22 +00:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/J/JH/JHTHORSEN/%{cpan_name}-%{version}.tar.gz
|
2019-01-30 10:17:38 +00:00
|
|
|
Source1: cpanspec.yml
|
2025-08-12 18:15:38 +02:00
|
|
|
Source100: README.md
|
2019-01-30 06:49:22 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2021-03-03 13:00:54 +00:00
|
|
|
BuildRequires: perl(Mojolicious) >= 8.50
|
2019-06-13 16:51:38 +00:00
|
|
|
BuildRequires: perl(Protocol::Redis::Faster) >= 0.002
|
2019-01-30 06:49:22 +00:00
|
|
|
BuildRequires: perl(Test::More) >= 0.88
|
2021-03-03 13:00:54 +00:00
|
|
|
Requires: perl(Mojolicious) >= 8.50
|
2019-06-13 16:51:38 +00:00
|
|
|
Requires: perl(Protocol::Redis::Faster) >= 0.002
|
2019-01-30 06:49:22 +00:00
|
|
|
%{perl_requires}
|
|
|
|
|
|
|
|
%description
|
|
|
|
Mojo::Redis is a Redis driver that use the Mojo::IOLoop, which makes it
|
|
|
|
integrate easily with the Mojolicious framework.
|
|
|
|
|
|
|
|
It tries to mimic the same interface as Mojo::Pg, Mojo::mysql and
|
|
|
|
Mojo::SQLite, but the methods for talking to the database vary.
|
|
|
|
|
2021-11-26 13:46:23 +00:00
|
|
|
This module is in no way compatible with the 1.xx version of 'Mojo::Redis'
|
2019-02-01 19:34:36 +00:00
|
|
|
and this version also tries to fix a lot of the confusing methods in
|
2021-11-26 13:46:23 +00:00
|
|
|
'Mojo::Redis2' related to pubsub.
|
2019-02-01 19:34:36 +00:00
|
|
|
|
|
|
|
This module is currently EXPERIMENTAL, and bad design decisions will be
|
|
|
|
fixed without warning. Please report at
|
|
|
|
https://github.com/jhthorsen/mojo-redis/issues if you find this module
|
|
|
|
useful, annoying or if you simply find bugs. Feedback can also be sent to
|
|
|
|
'jhthorsen@cpan.org'.
|
|
|
|
|
2019-01-30 06:49:22 +00:00
|
|
|
%prep
|
2021-03-03 13:00:54 +00:00
|
|
|
%autosetup -n %{cpan_name}-%{version}
|
2019-01-30 06:49:22 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
2021-03-03 13:00:54 +00:00
|
|
|
%make_build
|
2019-01-30 06:49:22 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
|
|
|
%doc Changes examples README.md
|
|
|
|
|
|
|
|
%changelog
|