From 25f395c62607c586b6b42c9bbe8827571b546d94 Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Aug 20 2012 07:34:47 +0000 Subject: import perl-Test-HasVersion-0.012-6.1.el7.src.rpm --- diff --git a/.perl-Test-HasVersion.metadata b/.perl-Test-HasVersion.metadata new file mode 100644 index 0000000..f95ba1e --- /dev/null +++ b/.perl-Test-HasVersion.metadata @@ -0,0 +1 @@ +d3e1aafd960f1808f80059bf702754564666a4c0 SOURCES/Test-HasVersion-0.012.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Test-HasVersion.spec b/SPECS/perl-Test-HasVersion.spec new file mode 100644 index 0000000..d7a6011 --- /dev/null +++ b/SPECS/perl-Test-HasVersion.spec @@ -0,0 +1,74 @@ +Name: perl-Test-HasVersion +Version: 0.012 +Release: 6.1%{?dist} +Summary: Check Perl modules have version numbers +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Test-HasVersion/ +Source0: http://www.cpan.org/authors/id/F/FE/FERREIRA/Test-HasVersion-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(Test::Builder) +BuildRequires: perl(Test::Builder::Tester) >= 1.04 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +Do you wanna check that every one of your Perl modules in a distribution +has a version number? You wanna make sure you don't forget the brand new +modules you just added? Well, that's the module you have been looking +for. Use it! + +%prep +%setup -q -n Test-HasVersion-%{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 {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%defattr(-,root,root,-) +%doc Changes README +%{_bindir}/* +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Aug 20 2012 Daniel Mach - 0.012-6.1 +- Rebuild for perl 5.16 + +* Fri Jul 20 2012 Fedora Release Engineering - 0.012-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Wed Jun 13 2012 Petr Pisar - 0.012-5 +- Perl 5.16 rebuild + +* Fri Jan 13 2012 Fedora Release Engineering - 0.012-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Aug 11 2011 Iain Arnell 0.012-3 +- drop unnecessary runtime dependency on perl(Test::Builder::Tester) + +* Mon Jun 20 2011 Marcela Mašláňová - 0.012-2 +- Perl mass rebuild + +* Sat Apr 02 2011 Iain Arnell 0.012-1 +- Specfile autogenerated by cpanspec 1.79.