From 740eb4ea132e974b9ee96cb490cdbfbdb1bbfd19 Mon Sep 17 00:00:00 2001
From: Orion Poplawski <or...@cora.nwra.com>
Date: Tue, 11 Apr 2017 13:26:25 -0600
Subject: Disable signature test (bug #1441305) Cleanup spec

---
 perl-Log-Trivial.spec | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/perl-Log-Trivial.spec b/perl-Log-Trivial.spec
index 1cb39bd..9bfa976 100644
--- a/perl-Log-Trivial.spec
+++ b/perl-Log-Trivial.spec
@@ -1,14 +1,13 @@
 Name:           perl-Log-Trivial
 Version:        0.40
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Very simple tool for writing very simple log files
 License:        LGPLv3
 Group:          Development/Libraries
 URL:            http://search.cpan.org/dist/Log-Trivial/
 Source0:        
http://www.cpan.org/authors/id/A/AT/ATRICKETT/Log-Trivial-%{version}.tar.gz
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
-BuildRequires:  perl >= 1:5.6.1
+BuildRequires:  perl
 BuildRequires:  perl-generators
 BuildRequires:  perl(Module::Build)
 #For tests - mandatory
@@ -35,8 +34,6 @@ log file writer.
 ./Build
 
 %install
-rm -rf $RPM_BUILD_ROOT
-
 ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
 
@@ -45,10 +42,7 @@ find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 
2>/dev/null \;
 %check
 #These are empty and interfere with the distribution test
 rm *.list
-./Build test
-
-%clean
-rm -rf $RPM_BUILD_ROOT
+SKIP_SIGNATURE_TEST=1 ./Build test
 
 %files
 %doc Changes README
@@ -56,6 +50,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/*
 
 %changelog
+* Tue Apr 11 2017 Orion Poplawski <or...@cora.nwra.com> - 0.40-8
+- Disable signature test (bug #1441305)
+- Cleanup spec
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
0.40-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Log-Trivial.git/commit/?h=master&id=740eb4ea132e974b9ee96cb490cdbfbdb1bbfd19
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to