From 3b8cebffcf26f63cd217df789239dec3917a2a74 Mon Sep 17 00:00:00 2001
From: Paul Howarth <[email protected]>
Date: Thu, 21 Apr 2016 10:26:42 +0100
Subject: Fix FTBFS due to missing buildreq perl-devel
Also, simplify find commands using -empty and -delete
---
perl-Data-UUID.spec | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/perl-Data-UUID.spec b/perl-Data-UUID.spec
index af3000b..122c3bf 100644
--- a/perl-Data-UUID.spec
+++ b/perl-Data-UUID.spec
@@ -1,6 +1,6 @@
Name: perl-Data-UUID
Version: 1.221
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Globally/Universally Unique Identifiers (GUIDs/UUIDs)
Group: Development/Libraries
# Upstream says BSD but LICENSE file looks more like MIT
@@ -14,6 +14,7 @@ BuildRequires: findutils
BuildRequires: gcc
BuildRequires: make
BuildRequires: perl
+BuildRequires: perl-devel
BuildRequires: perl(Config)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Spec)
@@ -70,8 +71,8 @@ make %{?_smp_mflags}
%install
make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} \;
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
+find %{buildroot} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -empty -delete
%{_fixperms} %{buildroot}
%check
@@ -86,6 +87,10 @@ perl smp-test/collision.t
%{_mandir}/man3/Data::UUID.3*
%changelog
+* Thu Apr 21 2016 Paul Howarth <[email protected]> - 1.221-3
+- Fix FTBFS due to missing buildreq perl-devel
+- Simplify find commands using -empty and -delete
+
* Thu Feb 04 2016 Fedora Release Engineering <[email protected]> -
1.221-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
--
cgit v0.12
http://pkgs.fedoraproject.org/cgit/perl-Data-UUID.git/commit/?h=master&id=3b8cebffcf26f63cd217df789239dec3917a2a74
--
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]