From 79a58e27ee5f9e089129ca44d3bb4b5b18e9c1f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar(a)redhat.com>
Date: Fri, 3 Jun 2016 12:30:31 +0200
Subject: Modernize spec file
---
perl-Gearman-Client-Async.spec | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/perl-Gearman-Client-Async.spec b/perl-Gearman-Client-Async.spec
index 6213164..aabf5a4 100644
--- a/perl-Gearman-Client-Async.spec
+++ b/perl-Gearman-Client-Async.spec
@@ -13,6 +13,7 @@ BuildRequires: coreutils
BuildRequires: findutils
BuildRequires: make
BuildRequires: perl
+BuildRequires: perl-generators
BuildRequires: perl(ExtUtils::MakeMaker)
# Run-time:
BuildRequires: perl(base)
@@ -68,7 +69,7 @@ make test
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
+find %{buildroot} -type f -name .packlist -delete
%{_fixperms} %{buildroot}/*
%files
@@ -79,6 +80,7 @@ find %{buildroot} -type f -name .packlist -exec rm -f {} \;
%changelog
* Fri Jun 03 2016 Petr Pisar <ppisar(a)redhat.com> - 0.94-25
- Adapt to Gearman-1.12.007 (CPAN RT#115026)
+- Modernize spec file
* Tue May 17 2016 Jitka Plesnikova <jplesnik(a)redhat.com> - 0.94-24
- Perl 5.24 rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Gearman-Client-Async.git/commit/?...