From 3f7245d9ecb9c720f2232dd815bb6437ebe88d53 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <[email protected]>
Date: Wed, 17 Feb 2016 17:52:56 +0100
Subject: Modernize spec file
---
perl-MooseX-Types-VariantTable.spec | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/perl-MooseX-Types-VariantTable.spec
b/perl-MooseX-Types-VariantTable.spec
index cbfd1bf..630ead7 100644
--- a/perl-MooseX-Types-VariantTable.spec
+++ b/perl-MooseX-Types-VariantTable.spec
@@ -3,11 +3,11 @@ Version: 0.04
Release: 15%{?dist}
Summary: Type constraint based variant table
License: GPL+ or Artistic
-Group: Development/Libraries
+
URL: http://search.cpan.org/dist/MooseX-Types-VariantTable/
Source0:
http://www.cpan.org/authors/id/F/FL/FLORA/MooseX-Types-VariantTable-%{version}.tar.gz
BuildArch: noarch
-BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(Moose) >= 0.75
BuildRequires: perl(MooseX::Clone) >= 0.03
BuildRequires: perl(MooseX::Types::Structured) >= 0.12
@@ -27,27 +27,27 @@ constraints.
%setup -q -n MooseX-Types-VariantTable-%{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
-%{perl_vendorlib}/*
-%{_mandir}/man3/*
+%{perl_vendorlib}/Moose*
+%{_mandir}/man3/Moose*
%changelog
+* Wed Feb 17 2016 Emmanuel Seyman <[email protected]> - 0.04-15
+- Remove Group tag and %%defattr macro
+- Pass NO_PACKLIST to Makefile.PL
+- Tighten file listing
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
0.04-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-MooseX-Types-VariantTable.git/commit/?h=master&id=3f7245d9ecb9c720f2232dd815bb6437ebe88d53
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
[email protected]
http://lists.fedoraproject.org/admin/lists/[email protected]