From 95b09ba96cc722ce694465eb27e642a8813af609 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Tue, 3 Feb 2015 15:26:52 +0100 Subject: [PATCH] Initial import --- .gitignore | 1 + perl-inc-latest.spec | 53 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 55 insertions(+) create mode 100644 perl-inc-latest.spec diff --git a/.gitignore b/.gitignore index e69de29..0db5343 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/inc-latest-0.500.tar.gz diff --git a/perl-inc-latest.spec b/perl-inc-latest.spec new file mode 100644 index 0000000..3c37792 --- /dev/null +++ b/perl-inc-latest.spec @@ -0,0 +1,53 @@ +Name: perl-inc-latest +Epoch: 2 +Version: 0.500 +Release: 1%{?dist} +Summary: Use modules bundled in inc/ if they are newer than installed ones +License: ASL 2.0 +Group: Development/Libraries +URL: http://search.cpan.org/dist/inc-latest/ +Source0: http://www.cpan.org/authors/id/D/DA/DAGOLDEN/inc-latest-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Tests +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(ExtUtils::Installed) +Conflicts: perl-Module-Build < 2:0.42.10-4 + +%description +The inc::latest module helps bootstrap configure-time dependencies for CPAN +distributions. These dependencies get bundled into the inc directory within +a distribution and are used by Makefile.PL or Build.PL. + +%prep +%setup -q -n inc-latest-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%license LICENSE +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Jan 30 2015 Jitka Plesnikova - 2:0.500-1 +- Set epoch to compete with perl-Module-Build sub-package + +* Thu Jan 29 2015 Jitka Plesnikova - 0.500-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..f37b805 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d1e0deb52bcc9f9b0f990ceb077a8ffd inc-latest-0.500.tar.gz