3 %bcond_without tests # do not perform "make test"
7 Summary: Canary::Stability - canary to check Perl compatibility for Schmorp's modules
8 Summary(pl.UTF-8): Canary::Stability - kanarek do sprawdzania zgodności Perla z modułami Schmorpa
9 Name: perl-Canary-Stability
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-authors/id/M/ML/MLEHMANN/Canary-Stability-%{version}.tar.gz
16 # Source0-md5: 5368520547521b254317ea0e9b3d23ab
17 URL: https://metacpan.org/release/Canary-Stability
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRequires: rpmbuild(macros) >= 1.745
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 This module is used by Schmorp's modules during configuration stage to
26 test the installed Perl for compatibility with his modules.
28 It's not, at this stage, meant as a tool for other module authors,
29 although in principle nothing prevents them from subscribing to the
32 %description -l pl.UTF-8
33 Ten moduł jest używany przez moduły Schmorpa na etapie konfiguracji
34 do sprawdzenia zainstalowanej wersji Perla pod kątem zgodności z
37 Na tym etapie nie jest przeznaczony dla modułów innych autorów, ale
38 zasadniczo nie ma przeszkód do korzystania z tych samych idei.
41 %setup -q -n %{pdir}-%{pnam}-%{version}
44 %{__perl} Makefile.PL \
48 %{?with_tests:%{__make} test}
51 rm -rf $RPM_BUILD_ROOT
53 %{__make} pure_install \
54 DESTDIR=$RPM_BUILD_ROOT
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc COPYING Changes README
62 %dir %{perl_vendorlib}/Canary
63 %{perl_vendorlib}/Canary/Stability.pm
64 %{_mandir}/man3/Canary::Stability.3pm*