Remove annoying sleep after warnings in the build script

This commit is contained in:
Petr Písař 2014-12-10 13:14:43 +01:00
parent d1cc558f9e
commit d3e429cf2d
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,28 @@
From a027043170603c360605dd2129dbf37b9fd820d8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com>
Date: Wed, 10 Dec 2014 13:12:47 +0100
Subject: [PATCH] Do not sleep in Makefile.PL
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Petr Písař <ppisar@redhat.com>
---
Makefile.PL | 1 -
1 file changed, 1 deletion(-)
diff --git a/Makefile.PL b/Makefile.PL
index fe093bd..b9cd6ea 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -105,7 +105,6 @@ sub _scripts {
###############################################################
WARNING
- sleep 10;
}
}
return @scripts;
--
1.9.3

View File

@ -6,6 +6,8 @@ Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Archive-Tar/
Source0: http://www.cpan.org/authors/id/B/BI/BINGOS/Archive-Tar-%{version}.tar.gz
# Remove annoying sleep after warnings in the build script
Patch0: Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
BuildArch: noarch
# Most of the BRS are needed only for tests, compression support at run-time
# is optional soft dependency.
@ -75,6 +77,7 @@ will also support compressed or gzipped tar files.
%prep
%setup -q -n Archive-Tar-%{version}
%patch0 -p1
%build
perl Makefile.PL INSTALLDIRS=vendor
@ -99,6 +102,7 @@ make test
%changelog
* Wed Dec 10 2014 Petr Pisar <ppisar@redhat.com> - 2.02-2
- Remove unneeded dependencies
- Remove annoying sleep after warnings in the build script
* Thu Sep 18 2014 Jitka Plesnikova <jplesnik@redhat.com> - 2.02-1
- 2.02 bump