psabata pushed to perl-Lingua-KO-Hangul-Util (f22). "Remove the useless boostrap files"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Jul 27 11:17:32 UTC 2015


From c646f62467a11e790662c299f9b3551d45966f7c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk at redhat.com>
Date: Mon, 27 Jul 2015 13:16:40 +0200
Subject: Remove the useless boostrap files


diff --git a/perl-Lingua-KO-Hangul-Util.spec b/perl-Lingua-KO-Hangul-Util.spec
index da933c6..cbabf6b 100644
--- a/perl-Lingua-KO-Hangul-Util.spec
+++ b/perl-Lingua-KO-Hangul-Util.spec
@@ -6,6 +6,8 @@ License:        GPL+ or Artistic
 URL:            http://search.cpan.org/dist/Lingua-KO-Hangul-Util/
 Source0:        http://www.cpan.org/authors/id/S/SA/SADAHIRO/Lingua-KO-Hangul-Util-%{version}.tar.gz
 # Build
+BuildRequires:  coreutils
+BuildRequires:  findutils
 BuildRequires:  make
 BuildRequires:  perl
 BuildRequires:  perl(bytes)
@@ -33,6 +35,7 @@ make %{?_smp_mflags}
 
 %install
 make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name '*.bs' -empty -exec rm -f {} +
 %{_fixperms} %{buildroot}/*
 
 %check
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Lingua-KO-Hangul-Util.git/commit/?h=f22&id=c646f62467a11e790662c299f9b3551d45966f7c


More information about the perl-devel mailing list