[perl] Disable Test-Simple sub-package properly
Petr Pisar
ppisar at fedoraproject.org
Thu May 2 09:51:36 UTC 2013
commit 4351f09c818078fd6f2a45e2c0610d9d59cf14c8
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 c7fdecc..7e09f78 100644
--- a/perl.spec
+++ b/perl.spec
@@ -1538,6 +1538,7 @@ Run Perl standard test scripts with statistics.
Use TAP::Parser, Test::Harness package was whole rewritten.
%endif
+%if %{dual_life} || %{rebuild_from_scratch}
%package Test-Simple
Summary: Basic utilities for writing tests
Group: Development/Languages
@@ -1551,7 +1552,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
@@ -1565,6 +1565,7 @@ BuildArch: noarch
%description Test-Simple-tests
This package provides the test suite for package perl-Test-Simple.
+%endif
%if %{dual_life} || %{rebuild_from_scratch}
%package Text-ParseWords
More information about the scm-commits
mailing list