ppisar pushed to perl-Locale-Maketext-Gettext (master). "Remove signature test"

notifications at fedoraproject.org notifications at fedoraproject.org
Mon Sep 21 08:36:58 UTC 2015


From 3dfc69048a7644cd14c66af1c1607aa8276ae858 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar at redhat.com>
Date: Mon, 21 Sep 2015 10:35:01 +0200
Subject: Remove signature test


diff --git a/perl-Locale-Maketext-Gettext.spec b/perl-Locale-Maketext-Gettext.spec
index 61accc1..7f3f71d 100644
--- a/perl-Locale-Maketext-Gettext.spec
+++ b/perl-Locale-Maketext-Gettext.spec
@@ -1,6 +1,6 @@
 Name:           perl-Locale-Maketext-Gettext
 Version:        1.28
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Joins the gettext and Maketext frameworks
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -22,13 +22,14 @@ BuildRequires:  perl(FindBin)
 BuildRequires:  perl(lib)
 BuildRequires:  perl(Locale::Maketext)
 BuildRequires:  perl(Module::Build)
-BuildRequires:  perl(Module::Signature)
+# Module::Signature not used
 BuildRequires:  perl(Socket)
 BuildRequires:  perl(strict)
 BuildRequires:  perl(Test)
 BuildRequires:  perl(Test::More)
 BuildRequires:  perl(vars)
 BuildRequires:  perl(warnings)
+BuildRequires:  sed
 Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
 Patch0:         gettexttomakettext.patch
 
@@ -42,6 +43,9 @@ problems, too.
 %prep
 %setup -q -n Locale-Maketext-Gettext-%{version}
 %patch0 -p 1
+# Disable signature tests since we patch the source
+rm t/00-signature.t
+sed -i -e '/t\/00-signature\.t/d' MANIFEST
 
 %build
 %{__perl} Build.PL installdirs=vendor
@@ -60,8 +64,6 @@ rm -f debugsources.list debugfiles.list debuglinks.list
 ./Build test
 
 %clean
-# Disable signature tests since we patch the source
-rm -f SIGNATURE
 rm -rf $RPM_BUILD_ROOT
 
 %files
@@ -73,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/*
 
 %changelog
+* Mon Sep 21 2015 Petr Pisar <ppisar at redhat.com> - 1.28-3
+- Remove signature test (bug #1260618)
+
 * Wed Aug 26 2015 Petr Ĺ abata <contyk at redhat.com> - 1.28-2
 - Disable the signature tests, failing due to the patch
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Locale-Maketext-Gettext.git/commit/?h=master&id=3dfc69048a7644cd14c66af1c1607aa8276ae858


More information about the perl-devel mailing list