From 377b7b6b24d8bc24a0ed05ffff8e915f93383793 Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Sun, 18 Jun 2017 14:09:14 +0100
Subject: Update to 0.16
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- New upstream release 0.16
  - Fix build and test issues with perl5.26 due to removal of . from @INC
    (CPAN RT#120420, GH#4)
- This release by LEEJO → update source URL
- Simplify find commands using -empty and -delete
- Drop EL-5 support
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %%install section
  - Drop explicit %%clean section
  - BR: perl-devel unconditionally
---
 .rpmlint                 |  4 ++++
 perl-Test-LeakTrace.spec | 35 +++++++++++++++++++++++------------
 sources                  |  2 +-
 3 files changed, 28 insertions(+), 13 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..0ab4812
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,4 @@
+from Config import *
+
+addFilter("spelling-error %description -l en_US ok -> ")
+addFilter("spelling-error %description -l en_US cmp -> ")
diff --git a/perl-Test-LeakTrace.spec b/perl-Test-LeakTrace.spec
index daa87b0..8872470 100644
--- a/perl-Test-LeakTrace.spec
+++ b/perl-Test-LeakTrace.spec
@@ -5,14 +5,16 @@
 
 Name:          perl-Test-LeakTrace
 Summary:       Trace memory leaks
-Version:       0.15
-Release:       12%{?dist}
+Version:       0.16
+Release:       1%{?dist}
 License:       GPL+ or Artistic
-Group:         Development/Libraries
 URL:           http://search.cpan.org/dist/Test-LeakTrace/
-Source0:       
http://search.cpan.org/CPAN/authors/id/G/GF/GFUJI/Test-LeakTrace-%{version}.tar.gz
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
+Source0:       
http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/Test-LeakTrace-%{version}.tar.gz
 # Module Build
+BuildRequires: coreutils
+BuildRequires: findutils
+BuildRequires: gcc
+BuildRequires: make
 BuildRequires: perl
 BuildRequires: perl-devel
 BuildRequires: perl-generators
@@ -20,6 +22,7 @@ BuildRequires:        perl(ExtUtils::MakeMaker)
 BuildRequires: perl(inc::Module::Install)
 BuildRequires: perl(Module::Install::AuthorTests)
 BuildRequires: perl(Module::Install::Repository)
+BuildRequires: sed
 # Module Runtime
 BuildRequires: perl(Exporter) >= 5.57
 BuildRequires: perl(strict)
@@ -84,18 +87,14 @@ perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
-find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
-find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
-%{_fixperms} %{buildroot}
+find %{buildroot} -type f -name .packlist -delete
+find %{buildroot} -type f -name '*.bs' -empty -delete
+%{_fixperms} -c %{buildroot}
 
 %check
 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %doc Changes README benchmark/ example/ %{?perl_default_filter:t/ xt/}
 %{perl_vendorarch}/auto/Test/
@@ -105,6 +104,18 @@ rm -rf %{buildroot}
 %{_mandir}/man3/Test::LeakTrace::Script.3*
 
 %changelog
+* Sun Jun 18 2017 Paul Howarth <p...@city-fan.org> - 0.16-1
+- Update to 0.16
+  - Fix build and test issues with perl5.26 due to removal of . from @INC
+    (CPAN RT#120420, GH#4)
+- This release by LEEJO → update source URL
+- Simplify find commands using -empty and -delete
+- Drop EL-5 support
+  - Drop BuildRoot: and Group: tags
+  - Drop explicit buildroot cleaning in %%install section
+  - Drop explicit %%clean section
+  - BR: perl-devel unconditionally
+
 * Wed Jun 07 2017 Jitka Plesnikova <jples...@redhat.com> - 0.15-12
 - Perl 5.26 re-rebuild of bootstrapped packages
 
diff --git a/sources b/sources
index 6918641..d6a5aec 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5eac99e7882970f41886c3e0cec185d8  Test-LeakTrace-0.15.tar.gz
+SHA512 (Test-LeakTrace-0.16.tar.gz) = 
6fa7a5eaae01ca5232f3f297a104553dac5f57e4c6721d7084e5d44b0133206100878c7067b228b1e01b21f7639a97a0ec48ef77198deb0598d94d8861bab049
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-Test-LeakTrace.git/commit/?h=master&id=377b7b6b24d8bc24a0ed05ffff8e915f93383793
_______________________________________________
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