]> git.pld-linux.org Git - packages/perl-Module-Runtime-Conflicts.git/blob - perl-Module-Runtime-Conflicts.spec
- updated to 0.003
[packages/perl-Module-Runtime-Conflicts.git] / perl-Module-Runtime-Conflicts.spec
1 #
2 # Conditional build:
3 %bcond_without  tests           # do not perform "make test"
4 #
5 %define         pdir    Module
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
10 Version:        0.003
11 Release:        1
12 # same as perl
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
21 %if %{with tests}
22 BuildRequires:  perl-Dist-CheckConflicts
23 BuildRequires:  perl-Module-Runtime
24 BuildRequires:  perl-Test-Simple >= 0.88
25 %endif
26 Conflicts:      perl-Elasticsearch < 1.00
27 Conflicts:      perl-Moose < 2.1202
28 Conflicts:      perl-MooseX-NonMoose < 0.24
29 BuildArch:      noarch
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
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.
36
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.
41
42 %prep
43 %setup -q -n %{pdir}-%{pnam}-%{version}
44
45 %build
46 %{__perl} Makefile.PL \
47         INSTALLDIRS=vendor
48
49 %{__make}
50
51 %{?with_tests:%{__make} test}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc Changes README
65 %dir %{perl_vendorlib}/Module/Runtime
66 %{perl_vendorlib}/Module/Runtime/Conflicts.pm
67 %{_mandir}/man3/Module::Runtime::Conflicts.3pm*
This page took 0.122921 seconds and 3 git commands to generate.