]> git.pld-linux.org Git - packages/perl-Text-Template.git/commitdiff
- tests added, license fixed, cosmetics AC-branch AC-STABLE auto/ac/perl-Text-Template-1_44-1
authorankry <ankry@pld-linux.org>
Mon, 3 May 2004 18:07:32 +0000 (18:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-Template.spec -> 1.39

perl-Text-Template.spec

index 86060b91fdbffa75e0e686c34589589712f18080..6b53c3bca93d5dba0f76ebd7380119017670627c 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    Text
 %define        pnam    Template
@@ -6,7 +10,8 @@ Summary(pl):   Text::Template - przetwarzanie szablon
 Name:          perl-Text-Template
 Version:       1.44
 Release:       1
-License:       GPL
+# 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: 81a43d284d9c3cdb2b28e104c1c18609
@@ -36,10 +41,13 @@ zwracanymi przez nie warto
        INSTALLDIRS=vendor
 %{__make}
 
+%{?with_tests:%{__make} test}
+
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.120385 seconds and 4 git commands to generate.