From 57e8e1587f5dff305ec197fdd9b213be330ea6ab Mon Sep 17 00:00:00 2001 From: Emmanuel Seyman <emman...@seyman.fr> Date: Wed, 17 Feb 2016 22:11:17 +0100 Subject: Modernize spec file
--- perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec | 25 +++++++++++----------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec b/perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec index 504361b..36a455a 100644 --- a/perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec +++ b/perl-MooseX-Meta-TypeConstraint-ForceCoercion.spec @@ -1,13 +1,13 @@ Name: perl-MooseX-Meta-TypeConstraint-ForceCoercion Version: 0.01 -Release: 15%{?dist} +Release: 16%{?dist} Summary: Force coercion when validating type constraints License: GPL+ or Artistic -Group: Development/Libraries + URL: http://search.cpan.org/dist/MooseX-Meta-TypeConstraint-ForceCoercion/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/MooseX-Meta-TypeConstraint-ForceCoercion-%{version}.tar.gz BuildArch: noarch -BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 BuildRequires: perl(Moose) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Test::More) @@ -24,27 +24,28 @@ against it. %setup -q -n MooseX-Meta-TypeConstraint-ForceCoercion-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 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 LICENSE README -%{perl_vendorlib}/* -%{_mandir}/man3/* +%doc Changes README +%license LICENSE +%{perl_vendorlib}/Moose* +%{_mandir}/man3/Moose* %changelog +* Wed Feb 17 2016 Emmanuel Seyman <emman...@seyman.fr> - 0.01-16 +- Tighten file listing +- Remove Group tag and %%defattr macro +- Use %%license macro + * Thu Feb 04 2016 Fedora Release Engineering <rel...@fedoraproject.org> - 0.01-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild -- cgit v0.12 http://pkgs.fedoraproject.org/cgit/perl-MooseX-Meta-TypeConstraint-ForceCoercion.git/commit/?h=master&id=57e8e1587f5dff305ec197fdd9b213be330ea6ab -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/perl-devel@lists.fedoraproject.org