[perl-Mixin-Linewise] Buildtime dependencies fix

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

 



commit b7e06a9335578a79292eaa1997db4513b9a32d6b
Author: Petr Šabata <contyk@xxxxxxxxxx>
Date:   Wed Nov 21 16:07:18 2012 +0100

    Buildtime dependencies fix

 perl-Mixin-Linewise.spec |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)
---
diff --git a/perl-Mixin-Linewise.spec b/perl-Mixin-Linewise.spec
index 4aeeab2..428602e 100644
--- a/perl-Mixin-Linewise.spec
+++ b/perl-Mixin-Linewise.spec
@@ -1,6 +1,6 @@
 Name:           perl-Mixin-Linewise
 Version:        0.003
-Release:        8%{?dist}
+Release:        9%{?dist}
 Summary:        Write your linewise code for handles; this does the rest
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -8,12 +8,22 @@ URL:            http://search.cpan.org/dist/Mixin-Linewise/
 Source0:        http://www.cpan.org/authors/id/R/RJ/RJBS/Mixin-Linewise-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.0
+BuildRequires:  perl(Carp)
 BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::File)
 BuildRequires:  perl(IO::String)
+BuildRequires:  perl(lib)
 BuildRequires:  perl(Sub::Exporter) >= 0.9
 BuildRequires:  perl(Test::More)
-Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Module::Install deps
+BuildRequires:  perl(Cwd)
+BuildRequires:  perl(ExtUtils::Command)
+BuildRequires:  perl(ExtUtils::Manifest)
+BuildRequires:  perl(File::Path)
+BuildRequires:  perl(File::Spec)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(YAML::Tiny)
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
 
 %{?perl_default_filter}
 
@@ -27,17 +37,14 @@ and methods for handling strings and filenames are added for you.
 %setup -q -n Mixin-Linewise-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 make pure_install DESTDIR=$RPM_BUILD_ROOT
-
 find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
@@ -53,6 +60,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Wed Nov 21 2012 Petr Šabata <contyk@xxxxxxxxxx> - 0.003-9
+- Buildtime dependencies fix
+- Drop command macros
+
 * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.003-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
--
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