From d38620f154e71626362eeebbae1cd2affb6c1e74 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppi...@redhat.com>
Date: Mon, 24 Jul 2017 17:55:44 +0200
Subject: Modernize spec file

---
 .rpmlint                        | 2 ++
 perl-HTML-FormFu-MultiForm.spec | 8 +++-----
 2 files changed, 5 insertions(+), 5 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..8e23124
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,2 @@
+from Config import *
+addFilter("spelling-error .* (multi|Multi)");
diff --git a/perl-HTML-FormFu-MultiForm.spec b/perl-HTML-FormFu-MultiForm.spec
index 701b967..56b3323 100644
--- a/perl-HTML-FormFu-MultiForm.spec
+++ b/perl-HTML-FormFu-MultiForm.spec
@@ -3,7 +3,6 @@ Version:        1.00
 Release:        11%{?dist}
 Summary:        Handle multi-page/stage forms
 License:        GPL+ or Artistic
-Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/HTML-FormFu-MultiForm/
 Source0:        
http://www.cpan.org/authors/id/C/CF/CFRANKS/HTML-FormFu-MultiForm-%{version}.tar.gz
 # Do not use Test::Aggregate::Nested for running tests, bug #1231204
@@ -12,9 +11,9 @@ BuildArch:      noarch
 BuildRequires:  coreutils
 BuildRequires:  findutils
 BuildRequires:  make
-BuildRequires:  perl-interpreter
 BuildRequires:  perl-generators
-BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.30
+BuildRequires:  perl-interpreter
+BuildRequires:  perl(ExtUtils::MakeMaker) >= 6.76
 BuildRequires:  perl(strict)
 BuildRequires:  perl(warnings)
 BuildRequires:  sed
@@ -67,12 +66,11 @@ rm -r t/multiform-misc-file-client-side.t  t/multiform-misc/
 sed -i -e '/^t\/multiform-misc/d' MANIFEST
 
 %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 {} \;
 %{_fixperms} $RPM_BUILD_ROOT/*
 
 %check
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-HTML-FormFu-MultiForm.git/commit/?h=master&id=d38620f154e71626362eeebbae1cd2affb6c1e74
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to