perl-Test-Prereq/perl-Test-Prereq.spec

Name: perl-Test-Prereq
Summary: Check if Makefile.PL has the right pre-requisites
Version: 1.039
Release: 1
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Prereq/
Description: Check if Makefile.PL has the right pre-requisites.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was not successful.

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: brian d foy <bdfoy$cpan,org>

### EL6 ships with perl-Test-Prereq-1.037-2.el6
%{?el6:# Tag: rfx}

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name Test-Prereq

Summary: Check if Makefile.PL has the right pre-requisites
Name: perl-Test-Prereq
Version: 1.039
Release: 1%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/Test-Prereq/

Source: http://www.cpan.org/modules/by-module/Test/Test-Prereq-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl
BuildRequires: perl(ExtUtils::MakeMaker)

%description
Check if Makefile.PL has the right pre-requisites.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc Changes examples/README
%doc %{_mandir}/man3/*
%{perl_vendorlib}/Test/Prereq.pm
%{perl_vendorlib}/Test/Prereq

%changelog
* Sat Apr 23 2016 Dries Verachtert <dries.verachtert@dries.eu> - 1.039-1
- Updated to release 1.039.

* Thu Jun 11 2009 Christoph Maser <cmr@financial.com> - 1.037-1
- Updated to version 1.037.

* Sun Apr 29 2007 Dries Verachtert <dries@ulyssis.org> - 1.033-1
- Updated to release 1.033.

* Fri Jun  2 2006 Dries Verachtert <dries@ulyssis.org> - 1.031-1
- Updated to release 1.031.

* Sun Mar 26 2006 Dries Verachtert <dries@ulyssis.org> - 1.030-1
- Updated to release 1.030.

* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 1.029-1.2
- Rebuild for Fedora Core 5.

* Sat Jan  7 2006 Dries Verachtert <dries@ulyssis.org> - 1.029-1
- Updated to release 1.029.

* Sat Nov  5 2005 Dries Verachtert <dries@ulyssis.org> - 1.028-1
- Updated to release 1.028.

* Sat Apr  9 2005 Dries Verachtert <dries@ulyssis.org> - 1.027-1
- Initial package.