From ae24e7cdda33c3a78ae5fb899756510757cbd6b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ralf=20Cors=C3=A9pius?= <corse...@fedoraproject.org>
Date: Thu, 28 Jan 2016 07:31:28 +0100
Subject: Add %license.

- Modernize spec.
---
 perl-MooX-HandlesVia.spec | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/perl-MooX-HandlesVia.spec b/perl-MooX-HandlesVia.spec
index c48bff0..a0909d3 100644
--- a/perl-MooX-HandlesVia.spec
+++ b/perl-MooX-HandlesVia.spec
@@ -1,6 +1,6 @@
 Name:           perl-MooX-HandlesVia
 Version:        0.001008
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        NativeTrait-like behavior for Moo
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -49,25 +49,27 @@ code, for which there was no Moo alternative.
 %setup -q -n MooX-HandlesVia-%{version}
 
 %build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
 make %{?_smp_mflags}
 
 %install
 make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
-
-find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
-
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
 make test
 
 %files
-%doc Changes LICENSE TODO
+%doc Changes TODO
+%license LICENSE
 %{perl_vendorlib}/*
 %{_mandir}/man3/*
 
 %changelog
+* Thu Jan 28 2016 Ralf Corsépius <corse...@fedoraproject.org> - 0.001008-4
+- Add %%license.
+- Modernize spec.
+
 * Thu Jun 18 2015 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.001008-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
 
-- 
cgit v0.11.2


        
http://pkgs.fedoraproject.org/cgit/perl-MooX-HandlesVia.git/commit/?h=master&id=ae24e7cdda33c3a78ae5fb899756510757cbd6b3
--
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

Reply via email to