X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=perl-Carp-Assert.spec;h=1fc06dc3dd1054a692071a97c224ff8f1c966459;hb=refs%2Fheads%2FAC-branch;hp=0ab95180b9182ca8f296c56135f1b2e35b19122b;hpb=7157e77d242b0afb28ad74e1aaa1cc645ee94859;p=packages%2Fperl-Carp-Assert.git diff --git a/perl-Carp-Assert.spec b/perl-Carp-Assert.spec index 0ab9518..1fc06dc 100644 --- a/perl-Carp-Assert.spec +++ b/perl-Carp-Assert.spec @@ -3,20 +3,23 @@ %bcond_without tests # do not perform "make test" # %include /usr/lib/rpm/macros.perl -%define pdir Carp -%define pnam Assert +%define pdir Carp +%define pnam Assert Summary: Carp::Assert - executable comments Summary(pl): Carp::Assert - wykonywalne komentarze Name: perl-Carp-Assert Version: 0.18 -Release: 1 +Release: 4 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl -Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +Source0: http://www.cpan.org/modules/by-module/Carp/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 8137794654f5802730c05167327d496e -BuildRequires: perl-devel >= 5.6.1 -%{?with_tests:BuildRequires: perl-Test-Simple >= 0.18} +BuildRequires: perl-devel >= 1:5.8.0 +%if %{with tests} +BuildRequires: perl-Test-Inline >= 0.16-3 +BuildRequires: perl-Test-Simple >= 0.40 +%endif BuildRequires: rpm-perlprov >= 4.1-13 BuildArch: noarch BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -53,5 +56,5 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README -%{perl_vendorlib}/Carp +%{perl_vendorlib}/Carp/Assert.pm %{_mandir}/man3/*