Buildtime dependencies fix

epel9
Petr Šabata 12 years ago
parent 6df0035216
commit b7e06a9335

@ -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@redhat.com> - 0.003-9
- Buildtime dependencies fix
- Drop command macros
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.003-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

Loading…
Cancel
Save