[perl/f19] Disable Test-Simple sub-package properly
Petr Pisar
ppisar at fedoraproject.org
Thu May 2 09:55:32 UTC 2013
commit 2108fb1b01d95427c8401654b59916b6617a9ff5
Author: Petr Písař <ppisar at redhat.com>
Date: Thu May 2 11:49:41 2013 +0200
Disable Test-Simple sub-package properly
There was missing condition around %package and %description, but no
package has been produced because %files has been conditionalized
properly.
perl.spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index f1bd393..19cecd2 100644
--- a/perl.spec
+++ b/perl.spec
@@ -1358,6 +1358,7 @@ Obsoletes: perl-TAP-Harness < 3.10
Run Perl standard test scripts with statistics.
Use TAP::Parser, Test::Harness package was whole rewritten.
+%if %{dual_life} || %{rebuild_from_scratch}
%package Test-Simple
Summary: Basic utilities for writing tests
Group: Development/Languages
@@ -1371,7 +1372,6 @@ BuildArch: noarch
%description Test-Simple
Basic utilities for writing tests.
-
%package Test-Simple-tests
Summary: Test suite for package perl-Test-Simple
Group: Development/Debug
@@ -1385,6 +1385,7 @@ BuildArch: noarch
%description Test-Simple-tests
This package provides the test suite for package perl-Test-Simple.
+%endif
%package Text-ParseWords
Summary: Parse text into an array of tokens or array of arrays
More information about the scm-commits
mailing list