[perl-Encode] Make devel sub-package architecture specific due to file location

Petr Pisar ppisar at fedoraproject.org
Fri Feb 15 10:06:46 UTC 2013


commit 097d54fae596b4c1d1b56c0263a2f51ce20e9a8d
Author: Petr Písař <ppisar at redhat.com>
Date:   Fri Feb 15 11:03:58 2013 +0100

    Make devel sub-package architecture specific due to file location

 perl-Encode.spec |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/perl-Encode.spec b/perl-Encode.spec
index 185b184..94381af 100644
--- a/perl-Encode.spec
+++ b/perl-Encode.spec
@@ -37,11 +37,11 @@ The Encode module provides the interface between Perl strings and the rest
 of the system. Perl strings are sequences of characters.
 
 # To mirror files from perl-devel (bug #456534)
+# Keep architecture specific because files go into vendorarch
 %package devel
 Summary:        Perl Encode Module Generator
 Group:          Development/Libraries
-BuildArch:      noarch
-Requires:       %{name} = %{version}-%{release}
+Requires:       %{name}%{?_isa} = %{version}-%{release}
 Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl-devel
 Requires:       perl(Encode)
@@ -90,3 +90,4 @@ make test
 %changelog
 * Thu Sep 20 2012 Petr Pisar <ppisar at redhat.com> 2.47-1
 - Specfile autogenerated by cpanspec 1.78.
+- Make devel sub-package architecture specific due to file location



More information about the perl-devel mailing list