[perl/f19] Disable Test-Simple sub-package properly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 2108fb1b01d95427c8401654b59916b6617a9ff5
Author: Petr Písař <ppisar@xxxxxxxxxx>
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
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel





[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux