3 %bcond_without tests # do not perform "make test"
6 %define pnam Runtime-Conflicts
7 Summary: Module::Runtime::Conflicts - provide information on conflicts for Module::Runtime
8 Summary(pl.UTF-8): Module::Runtime::Conflicts - dostarczanie informacji o konfliktach dla Module::Runtime
9 Name: perl-Module-Runtime-Conflicts
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Module/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 67aaf699072063cc00c5b6afd4c67a6f
17 URL: https://metacpan.org/release/Module-Runtime-Conflicts
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRequires: perl-Dist-CheckConflicts
23 BuildRequires: perl-Module-Runtime
24 BuildRequires: perl-Test-Simple >= 0.88
26 Conflicts: perl-Elasticsearch < 1.00
27 Conflicts: perl-Moose < 2.1202
28 Conflicts: perl-MooseX-NonMoose < 0.24
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This module provides conflicts checking for Module::Runtime, which had
34 a recent release that broke some versions of Moose. It is called from
35 Moose::Conflicts and moose-outdated.
37 %description -l pl.UTF-8
38 Ten moduł zapewnia sprawdzanie konfliktów dla Module::Runtime, htórego
39 niedawne wydanie zepsuło niektóre wersje Moose. Moduł jest wywoływany
40 z Moose::Conflicts oraz moose-outdated.
43 %setup -q -n %{pdir}-%{pnam}-%{version}
46 %{__perl} Makefile.PL \
51 %{?with_tests:%{__make} test}
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %dir %{perl_vendorlib}/Module/Runtime
66 %{perl_vendorlib}/Module/Runtime/Conflicts.pm
67 %{_mandir}/man3/Module::Runtime::Conflicts.3pm*