commit c1f5519b2bdfcb82d23828bc943f8ce7de230ee7
Author: Petr Písař <[email protected]>
Date:   Mon Feb 18 14:10:41 2013 +0100

    Build-require perl-Encode-devel for enc2xs

 perl-Encode-JP-Mobile.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/perl-Encode-JP-Mobile.spec b/perl-Encode-JP-Mobile.spec
index fb68f66..491d796 100644
--- a/perl-Encode-JP-Mobile.spec
+++ b/perl-Encode-JP-Mobile.spec
@@ -7,6 +7,9 @@ License:        GPL+ or Artistic
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Encode-JP-Mobile/
 Source0:        
http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Encode-JP-Mobile-%{version}.tar.gz
+BuildRequires:  perl
+BuildRequires:  perl(Config)
+BuildRequires:  perl-Encode-devel
 BuildRequires:  perl(ExtUtils::MakeMaker)
 # Run-time:
 BuildRequires:  perl(base)
@@ -25,7 +28,7 @@ BuildRequires:  perl(Data::Dumper)
 BuildRequires:  perl(Test::More)
 # Optional tests:
 BuildRequires:  perl(YAML)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo 
$version))
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 Requires:       perl(Encode) >= 2.23
 Requires:       perl(File::ShareDir) >= 0.05
 Requires:       perl(MIME::Words) >= 5.428
@@ -46,7 +49,7 @@ Unicode の私用領域 (PRIVATE AREA) にマッピングします。
 %setup -q -n Encode-JP-Mobile-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to