]> git.pld-linux.org Git - packages/perl-POE-Component-SMTP.git/blobdiff - perl-POE-Component-SMTP.spec
- fixed perl-devel BR
[packages/perl-POE-Component-SMTP.git] / perl-POE-Component-SMTP.spec
index b0f23d426289b18155fbefdfbfb6503e923c2a69..b74c1b61ea2c2f2cb508586ca0142c717f3deb38 100644 (file)
@@ -1,23 +1,23 @@
 #
 # Conditional build:
-# _without_tests - do not perform "make test"
+%bcond_without tests   # do not perform "make test"
 #
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    POE
 %define        pnam    Component-SMTP
-Summary:       POE::Filter::SMTP - SMTP Protocol Filter
+Summary:       POE::Filter::SMTP - SMTP protocol filter
 Summary(pl):   POE::Filter::SMTP - filtr dla protoko³u SMTP
 Name:          perl-POE-Component-SMTP
-Version:       1.4
+Version:       1.5
 Release:       1
 # 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-md5: a8b1906a4ec0f99b5cb57498dc7a80c9
-BuildRequires: perl-devel >= 5.6
+# Source0-md5: 75999b462eb9a3726c521f2547b96b53
+BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
-%if %{!?_without_tests:1}0
+%if %{?with_tests}
 BuildRequires: perl-POE
 BuildRequires: perl-POE-Session-MultiDispatch
 BuildRequires: perl-Test-Simple
@@ -43,7 +43,7 @@ POE::Filter::Line.
        INSTALLDIRS=vendor
 %{__make}
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.041821 seconds and 4 git commands to generate.