[perl] Hide dual-lived perl-Object-Accessor

Petr Pisar ppisar at fedoraproject.org
Tue Jan 21 13:54:51 UTC 2014


commit c55d025e6a008962b35dc37b35a73f614ccfc82d
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Jan 21 14:40:22 2014 +0100

    Hide dual-lived perl-Object-Accessor

 perl.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl.spec b/perl.spec
index 6eb5702..8d0f3b7 100644
--- a/perl.spec
+++ b/perl.spec
@@ -1283,7 +1283,7 @@ Provides a simple but, hopefully, extensible way of having 'plugins' for your
 module.
 %endif
 
-
+%if %{dual_life} || %{rebuild_from_scratch}
 %package Object-Accessor
 Summary:        Perl module that allows per object accessors
 Group:          Development/Libraries
@@ -1297,7 +1297,7 @@ BuildArch:      noarch
 %description Object-Accessor
 Object::Accessor provides an interface to create per object accessors (as
 opposed to per Class accessors, as, for example, Class::Accessor provides).
-
+%endif
 
 %package Package-Constants
 Summary:        List all constants declared in a package
@@ -3336,9 +3336,11 @@ sed \
 %{_mandir}/man3/Module::Pluggable*
 %endif
 
+%if %{dual_life} || %{rebuild_from_scratch}
 %files Object-Accessor
 %{privlib}/Object/
 %{_mandir}/man3/Object::Accessor*
+%endif
 
 %files Package-Constants
 %{privlib}/Package/
@@ -3602,6 +3604,7 @@ sed \
 * Tue Jan 21 2014 Petr Pisar <ppisar at redhat.com> - 4:5.18.2-294
 - Drop perl-Test-Simple-tests package is it is not delivered by dual-lived
   version
+- Hide dual-lived perl-Object-Accessor
 
 * Tue Jan 14 2014 Petr Pisar <ppisar at redhat.com> - 4:5.18.2-293
 - Use a macro to cover all 64-bit PowerPC architectures (bug #1052709)


More information about the scm-commits mailing list