From befea7625f5b8e3a7cc57a8b77284d8c9f478c1e Mon Sep 17 00:00:00 2001
From: Paul Howarth <p...@city-fan.org>
Date: Thu, 6 Apr 2017 13:26:47 +0100
Subject: Update to 5.509, drop EL-5 support

- New upstream release 5.509
  - Makefile.PL failed with no '.' in @INC (CPAN RT#120871)
  - Test t/Ref.t failed on Windows install (CPAN RT#118262)
  - MIME::Parser::parse_data() should check what it gets back (CPAN RT#119166)
  - Allow \r\n to be used as line-end delimiter when outputting MIME message
    (CPAN RT#119568)
- Drop EL-5 support (should have happened years ago, dependencies not available)
  - Drop BuildRoot: and Group: tags
  - Drop explicit buildroot cleaning in %install section
  - Drop explicit %clean section
---
 .rpmlint             |  5 +++++
 perl-MIME-tools.spec | 24 +++++++++++++++---------
 2 files changed, 20 insertions(+), 9 deletions(-)
 create mode 100644 .rpmlint

diff --git a/.rpmlint b/.rpmlint
new file mode 100644
index 0000000..d2f348e
--- /dev/null
+++ b/.rpmlint
@@ -0,0 +1,5 @@
+from Config import *
+addFilter("spelling-error %description -l en_US subclasses -> ");
+addFilter("incorrect-fsf-address /usr/share/.*/perl-MIME-tools.*/COPYING");
+addFilter("doc-file-dependency 
/usr/share/doc/perl-MIME-tools.*/examples/mimesender perl\(Mail::Send\)");
+addFilter("doc-file-dependency 
/usr/share/doc/perl-MIME-tools.*/examples/mimeref perl\(Data::Dumper\)");
diff --git a/perl-MIME-tools.spec b/perl-MIME-tools.spec
index 9d66659..4aef644 100644
--- a/perl-MIME-tools.spec
+++ b/perl-MIME-tools.spec
@@ -1,14 +1,12 @@
 Summary:       Modules for parsing and creating MIME entities in Perl
 Name:          perl-MIME-tools
-Version:       5.508
-Release:       2%{?dist}
-Group:         Development/Libraries
+Version:       5.509
+Release:       1%{?dist}
 License:       GPL+ or Artistic
 URL:           http://search.cpan.org/dist/MIME-tools/
 Source0:       
http://search.cpan.org/CPAN/authors/id/D/DS/DSKOLL/MIME-tools-%{version}.tar.gz
 Patch0:                MIME-tools-5.506-UTF8.patch
 BuildArch:     noarch
-BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
 # ================ Module Build ======================
 BuildRequires: coreutils
 BuildRequires: findutils
@@ -73,10 +71,9 @@ perl Makefile.PL INSTALLDIRS=vendor
 make %{?_smp_mflags}
 
 %install
-rm -rf %{buildroot}
 make pure_install DESTDIR=%{buildroot}
 find %{buildroot} -type f -name .packlist -delete
-%{_fixperms} %{buildroot}
+%{_fixperms} -c %{buildroot}
 
 # Put the more useful examples in %%{_bindir}
 install -d -m 755 %{buildroot}%{_bindir}
@@ -93,9 +90,6 @@ cd -
 # POD Coverage test fails due to lots of undocumented routines
 TEST_POD_COVERAGE=0 make test
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %if 0%{?_licensedir:1}
 %license COPYING
@@ -141,6 +135,18 @@ rm -rf %{buildroot}
 %{_mandir}/man3/MIME::Words.3*
 
 %changelog
+* Thu Apr  6 2017 Paul Howarth <p...@city-fan.org> - 5.509-1
+- Update to 5.509
+  - Makefile.PL failed with no '.' in @INC (CPAN RT#120871)
+  - Test t/Ref.t failed on Windows install (CPAN RT#118262)
+  - MIME::Parser::parse_data() should check what it gets back (CPAN RT#119166)
+  - Allow \r\n to be used as line-end delimiter when outputting MIME message
+    (CPAN RT#119568)
+- Drop EL-5 support (should have happened years ago, dependencies not 
available)
+  - Drop BuildRoot: and Group: tags
+  - Drop explicit buildroot cleaning in %%install section
+  - Drop explicit %%clean section
+
 * Sat Feb 11 2017 Fedora Release Engineering <rel...@fedoraproject.org> - 
5.508-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
 
-- 
cgit v1.1


        
https://src.fedoraproject.org/cgit/perl-MIME-tools.git/commit/?h=master&id=befea7625f5b8e3a7cc57a8b77284d8c9f478c1e
_______________________________________________
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