From 6567dcab88914d14510a9a7c1cab736387fb6c61 Mon Sep 17 00:00:00 2001
From: Emmanuel Seyman <emmanuel(a)seyman.fr>
Date: Sat, 3 Oct 2015 13:09:10 +0200
Subject: Pass NO_PACKLIST to Makefile.PL and fix a typo
diff --git a/perl-HTML-FormFu-Model-DBIC.spec b/perl-HTML-FormFu-Model-DBIC.spec
index 42d2180..bc001b1 100644
--- a/perl-HTML-FormFu-Model-DBIC.spec
+++ b/perl-HTML-FormFu-Model-DBIC.spec
@@ -1,7 +1,7 @@
Name: perl-HTML-FormFu-Model-DBIC
Summary: Integrate HTML::FormFu with DBIx::Class
Version: 2.00
-Release: 5%{?dist}
+Release: 6%{?dist}
License: GPL+ or Artistic
Group: Development/Libraries
Source0:
http://search.cpan.org/CPAN/authors/id/C/CF/CFRANKS/HTML-FormFu-Model-DBI...
@@ -47,7 +47,7 @@ BuildRequires: perl(Test::More)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo
$version))
# DBIx::Class is used nowhere by the installed code, but let's assume this
# package is not compatible with former DBIx::Class versions
-Requires: perl(DBIx::Class) >= 0.08108 Requires:
+Requires: perl(DBIx::Class) >= 0.08108
Requires: perl(HTML::FormFu::Constraint)
# HTML::FormFu::Model version from Makefile.PL's HTML::FormFu declaration
Requires: perl(HTML::FormFu::Model) >= 2.00
@@ -67,14 +67,11 @@ Integrate your HTML::FormFu forms with a DBIx::Class model.
%setup -q -n HTML-FormFu-Model-DBIC-%{version}
%build
-%{__perl} Makefile.PL INSTALLDIRS=vendor
+%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
-
%{_fixperms} %{buildroot}/*
%check
@@ -86,6 +83,10 @@ make test
%{_mandir}/man3/*.3*
%changelog
+* Sat Oct 03 2015 Emmanuel Seyman <emmanuel(a)seyman.fr> - 2.00-6
+- Pass NO_PACKLIST to Makefile.PL
+- Fix a typo
+
* Fri Oct 02 2015 Petr Pisar <ppisar(a)redhat.com> - 2.00-5
- Correct dependencies
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/perl-HTML-FormFu-Model-DBIC.git/commit...