diff --git a/perl-Test-CheckManifest.spec b/perl-Test-CheckManifest.spec index d94b528..5ee7b1e 100644 --- a/perl-Test-CheckManifest.spec +++ b/perl-Test-CheckManifest.spec @@ -1,6 +1,6 @@ Name: perl-Test-CheckManifest Version: 1.29 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Check if your Manifest matches your distro License: Artistic 2.0 Group: Development/Libraries @@ -8,6 +8,14 @@ URL: http://search.cpan.org/dist/Test-CheckManifest/ Source0: http://www.cpan.org/authors/id/R/RE/RENEEB/Test-CheckManifest-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Carp) +BuildRequires: perl(Cwd) +BuildRequires: perl(File::Basename) +BuildRequires: perl(File::Find) +BuildRequires: perl(File::Spec) +BuildRequires: perl(strict) +BuildRequires: perl(warnings) + BuildRequires: perl(Test::Builder) BuildRequires: perl(Test::Pod) >= 1.00 BuildRequires: perl(Test::Pod::Coverage) >= 1.08 @@ -26,15 +34,13 @@ distribution. %build cd Test-CheckManifest-%{version} -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 make %{?_smp_mflags} cd .. %install cd Test-CheckManifest-%{version} make pure_install PERL_INSTALL_ROOT=$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/* @@ -46,12 +52,18 @@ make test cd .. %files -%defattr(-,root,root,-) -%doc Test-CheckManifest-%{version}/Changes Test-CheckManifest-%{version}/README Test-CheckManifest-%{version}/LICENSE +%doc Test-CheckManifest-%{version}/Changes Test-CheckManifest-%{version}/README +%license Test-CheckManifest-%{version}/LICENSE %{perl_vendorlib}/* %{_mandir}/man3/* %changelog +* Wed Jan 27 2016 Ralf Corsépius - 1.29-4 +- Remove %%defattr. +- Modernize spec. +- Add %%license. +- Add more BR:s. + * Thu Jun 18 2015 Fedora Release Engineering - 1.29-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild