summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorankry2004-05-05 15:54:14 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit85d7fc922ecdda7b1798bdcaea8439000b29d0aa (patch)
treeb14aa02e606ecd64e05f27641f2dea522e73002f
parentb1652d78d306fc8f27d5a365f812ee412249e03c (diff)
downloadperl-Proc-Background-85d7fc922ecdda7b1798bdcaea8439000b29d0aa.zip
perl-Proc-Background-85d7fc922ecdda7b1798bdcaea8439000b29d0aa.tar.gz
- tests added, license fixes, cosmetics
Changed files: perl-Proc-Background.spec -> 1.37
-rw-r--r--perl-Proc-Background.spec9
1 files changed, 8 insertions, 1 deletions
diff --git a/perl-Proc-Background.spec b/perl-Proc-Background.spec
index c3d648d..9bc5f2d 100644
--- a/perl-Proc-Background.spec
+++ b/perl-Proc-Background.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
%include /usr/lib/rpm/macros.perl
%define pdir Proc
%define pnam Background
@@ -6,7 +10,8 @@ Summary(pl): Moduł Perla Proc::Background - ogólny interfejs do zarządzania proc
Name: perl-Proc-Background
Version: 1.08
Release: 2
-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: e02f11b627332169c37cab39cccf6451
@@ -37,6 +42,8 @@ też zobaczyć, jakie procesy nadal działają w tle.
INSTALLDIRS=vendor
%{__make}
+%{?with_tests:%{__make} test}
+
%install
rm -rf $RPM_BUILD_ROOT