[perl-Archive-Tar] Remove annoying sleep after warnings in the build script

Petr Pisar ppisar at fedoraproject.org
Wed Dec 10 12:14:48 UTC 2014


commit d3e429cf2d420eba7ab51aca76a42b351ffdc8bc
Author: Petr Písař <ppisar at redhat.com>
Date:   Wed Dec 10 13:14:43 2014 +0100

    Remove annoying sleep after warnings in the build script

 Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch |   28 ++++++++++++++++++++
 perl-Archive-Tar.spec                              |    4 +++
 2 files changed, 32 insertions(+), 0 deletions(-)
---
diff --git a/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch b/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
new file mode 100644
index 0000000..bd3c484
--- /dev/null
+++ b/Archive-Tar-2.02-Do-not-sleep-in-Makefile.PL.patch
@@ -0,0 +1,28 @@
+From a027043170603c360605dd2129dbf37b9fd820d8 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at 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 at 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
+
diff --git a/perl-Archive-Tar.spec b/perl-Archive-Tar.spec
index 5ac5172..32cb2ea 100644
--- a/perl-Archive-Tar.spec
+++ b/perl-Archive-Tar.spec
@@ -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 at redhat.com> - 2.02-2
 - Remove unneeded dependencies
+- Remove annoying sleep after warnings in the build script
 
 * Thu Sep 18 2014 Jitka Plesnikova <jplesnik at redhat.com> - 2.02-1
 - 2.02 bump


More information about the scm-commits mailing list