]> git.pld-linux.org Git - packages/perl-DBI.git/commitdiff
- up to 1.39, new bcond style
authormigo <migo@pld-linux.org>
Wed, 3 Dec 2003 19:35:57 +0000 (19:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-DBI.spec -> 1.58

perl-DBI.spec

index a6bc93a3b85c35737464a2fc770eeb3c21849059..638f46f7624917319c65ae29e4519a675faff09e 100644 (file)
@@ -1,8 +1,8 @@
 #
 # Conditional build:
-# _without_autodeps    - don't BR packages needed only for resolving deps
-# _with_tests          - perform "make test"
-#
+%bcond_without autodeps        # don't BR packages needed only for resolving deps
+%bcond_with    tests           # perform "make test"
+
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    DBI
 %define        pnam    DBI
@@ -23,16 +23,16 @@ Summary(ru):        
 Summary(sv):   Ett databasåtkomst-API för Perl
 Summary(zh_CN):        Perl µÄÊý¾Ý¿â·ÃÎÊ API¡£
 Name:          perl-DBI
-Version:       1.38
+Version:       1.39
 Release:       1
 License:       GPL/Artistic
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pnam}-%{version}.tar.gz
-# Source0-md5: 58c8192d88511e08ea59a1cc70bd0a80
+# Source0-md5: 6d543c9f06d9d940dfe3aec1c4b6841d
 Patch0:                perl-DBI-changes.patch
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildRequires: perl-devel >= 5.6.1
-%if 0%{!?_without_autodeps:1}%{?_with_tests:1}
+BuildRequires: perl-devel >= 5.8
+%if %{with autodeps} || %{with tests}
 BuildRequires: perl-PlRPC
 BuildRequires: perl-Storable
 BuildRequires: perl-Net-Daemon
@@ -162,7 +162,7 @@ Apache'a. Mo
 %{__make} \
        OPTIMIZE="%{rpmcflags}"
 
-%{?_with_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.055557 seconds and 4 git commands to generate.