]> git.pld-linux.org Git - packages/perl-DBIx-DataSource.git/blobdiff - perl-DBIx-DataSource.spec
- new bconds
[packages/perl-DBIx-DataSource.git] / perl-DBIx-DataSource.spec
index 1f14991643b46948cfc70e194406ff6b9109e70c..1740fb13004da6e73cb4004f655be5230e6a2800 100644 (file)
@@ -1,12 +1,17 @@
+#
+# Conditional build:
+%bcond_without tests   # Do not perform "make test"
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    DBIx
 %define        pnam    DataSource
-Summary:       DBIx::DataSource - database-independant create and drop functions
+Summary:       DBIx::DataSource - database-independent create and drop functions
 Summary(pl):   DBIx::DataSource - niezale¿ne od bazy danych funkcje do tworzenia i usuwania
 Name:          perl-%{pdir}-%{pnam}
 Version:       0.02
 Release:       3
-License:       GPL/Artistic
+# 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: 12d60ad75ceced40286d18fcdcb5a40b
@@ -32,7 +37,8 @@ tworzenia i usuwania baz danych, niezale
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
 %{__make}
-%{!?_without_tests:%{__make} test}
+
+%{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.083206 seconds and 4 git commands to generate.