a5bc718
Name:           perl-Mojo-RabbitMQ-Client
fe3f596
Version:        0.3.1
86dc7ee
Release:        5%{?dist}
a5bc718
Summary:        Mojo::IOLoop based RabbitMQ client
a5bc718
License:        Artistic 2.0 and BSD
a5bc718
a5bc718
URL:            https://metacpan.org/release/Mojo-RabbitMQ-Client
fe3f596
Source0:        https://cpan.metacpan.org/authors/id/S/SE/SEBAPOD/Mojo-RabbitMQ-Client-%{version}.tar.gz
a5bc718
a5bc718
BuildArch:      noarch
a5bc718
# build requirements
a5bc718
BuildRequires:  perl-generators
a5bc718
BuildRequires:  perl-interpreter
a5bc718
BuildRequires:  perl(Module::Build::Tiny) >= 0.035
a5bc718
BuildRequires:  perl(:VERSION) >= 5.8.1
a5bc718
BuildRequires:  perl(strict)
a5bc718
# runtime requirements
a5bc718
BuildRequires:  perl(Carp)
a5bc718
BuildRequires:  perl(File::Basename)
a5bc718
BuildRequires:  perl(File::ShareDir)
a5bc718
BuildRequires:  perl(List::Util) >= 1.33
a5bc718
BuildRequires:  perl(Mojo::Base)
a5bc718
BuildRequires:  perl(Mojo::EventEmitter)
a5bc718
BuildRequires:  perl(Mojo::Home)
a5bc718
BuildRequires:  perl(Mojo::IOLoop)
a5bc718
BuildRequires:  perl(Mojo::JSON)
a5bc718
BuildRequires:  perl(Mojo::Parameters)
a5bc718
BuildRequires:  perl(Mojo::Promise)
a5bc718
BuildRequires:  perl(Mojo::URL)
a5bc718
BuildRequires:  perl(Mojo::Util)
a5bc718
BuildRequires:  perl(Net::AMQP) >= 0.06
a5bc718
BuildRequires:  perl(Net::AMQP::Common)
a5bc718
BuildRequires:  perl(Scalar::Util)
a5bc718
BuildRequires:  perl(constant)
a5bc718
# test requirements
a5bc718
BuildRequires:  perl(Test::Exception) >= 0.43
a5bc718
BuildRequires:  perl(Test::More) >= 0.98
a5bc718
Requires:       perl(Mojo::EventEmitter)
a5bc718
Requires:       perl(List::Util) >= 1.33
a5bc718
Requires:       perl(Net::AMQP) >= 0.06
a5bc718
Requires:       perl(:MODULE_COMPAT_%(eval "`/usr/bin/perl -V:version`"; echo $version))
a5bc718
a5bc718
%{?perl_default_filter}
a5bc718
a5bc718
## Filter unneeded Requires with RPM
a5bc718
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(Net::AMQP\\)$
a5bc718
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\(List::Util\\)$
a5bc718
a5bc718
%description
a5bc718
Mojo::RabbitMQ::Client is a rewrite of AnyEvent::RabbitMQ to work on top of
a5bc718
Mojo::IOLoop.
a5bc718
a5bc718
%prep
a5bc718
%setup -q -n Mojo-RabbitMQ-Client-%{version}
a5bc718
rm -rf inc
a5bc718
a5bc718
%build
a5bc718
/usr/bin/perl Build.PL --installdirs=vendor
a5bc718
./Build
a5bc718
a5bc718
%install
a5bc718
./Build install --destdir=$RPM_BUILD_ROOT --create_packlist=0
a5bc718
%{_fixperms} $RPM_BUILD_ROOT/*
a5bc718
a5bc718
%check
a5bc718
TEST_RMQ='' MOJO_RABBITMQ_DEBUG="" MOJO_CONNECT_TIMEOUT="" ./Build test
a5bc718
a5bc718
%files
a5bc718
%doc examples Changes README.md
a5bc718
%license LICENSE
a5bc718
%{perl_vendorlib}/auto
a5bc718
%{perl_vendorlib}/Mojo*
a5bc718
%{_mandir}/man3/Mojo*
a5bc718
a5bc718
%changelog
86dc7ee
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-5
86dc7ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
86dc7ee
50b0668
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-4
50b0668
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
50b0668
b2b7346
* Tue Jun 23 2020 Jitka Plesnikova <jplesnik@redhat.com> - 0.3.1-3
b2b7346
- Perl 5.32 rebuild
b2b7346
84fb448
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.1-2
84fb448
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
84fb448
fe3f596
* Wed Aug 21 2019 Adam Williamson <awilliam@redhat.com> - 0.3.1-1
fe3f596
- New release 0.3.1
fe3f596
- Drop merged patch
fe3f596
- Drop tarball modification now non-free file is removed upstream
fe3f596
29a2ba9
* Tue Aug 20 2019 Adam Williamson <awilliam@redhat.com> - 0.2.4-1
29a2ba9
- New release 0.2.4 (fixes annoying log warning spam)
29a2ba9
bcd200b
* Thu Aug 01 2019 Adam Williamson <awilliam@redhat.com> - 0.2.3-2
bcd200b
- Backport PR #35 to allow EXTERNAL as well as AMQPLAIN auth
bcd200b
92b9a82
* Sun Jul 28 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.2.3-1
92b9a82
- Update to 0.2.3
92b9a82
7c097e4
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.2-5
7c097e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7c097e4
a5bc718
* Mon Jul 08 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.2.2-4
a5bc718
- Take into account more review comments (#1726432)
a5bc718
a5bc718
* Fri Jul 05 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.2.2-3
a5bc718
- Take into account review comments (#1726432)
a5bc718
a5bc718
* Wed Jul 03 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.2.2-2
a5bc718
- Source modified to not include share/fixed_amqp0-8.xml (#1726432)
a5bc718
a5bc718
* Fri Jun 21 2019 Emmanuel Seyman <emmanuel@seyman.fr> - 0.2.2-1
a5bc718
- Initial specfile, based on the one autogenerated by cpanspec 1.78.