]> git.pld-linux.org Git - projects/template-specs.git/commitdiff
- new bcond style
authormigo <migo@pld-linux.org>
Mon, 6 Oct 2003 19:06:00 +0000 (19:06 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed Prereq and Epoch

Changed files:
    perl.spec -> 1.28

perl.spec

index 43990d9d250311b3d3eb9ddbfc55b440cb97bc80..7956fa22faa26c49c56b2998c404c58481b34901 100644 (file)
--- a/perl.spec
+++ b/perl.spec
@@ -1,7 +1,7 @@
-#
+
 # 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    -
 %define        pnam    -
@@ -14,7 +14,6 @@ Summary(ru):  -
 Name:          perl-
 Version:       -
 Release:       -
-Epoch:         -
 License:       (enter GPL/LGPL/BSD/BSD-like/Artistic/other license name here)
 Group:         Development/Languages/Perl
 Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
@@ -24,7 +23,6 @@ BuildRequires:        perl-devel >= 5.8.0
 BuildRequires: rpm-perlprov >= 4.1-13
 BuildRequires: -
 Requires:      -
-Prereq:                -
 Provides:      -
 Obsoletes:     -
 BuildArch:     noarch
@@ -58,7 +56,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # %{__make} \
 #      OPTIMIZE="%{rpmcflags}"
 
-%{!?_without_tests:%{__make} test}
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.094992 seconds and 4 git commands to generate.