commit 1731dcff77c51052c63afcbb0256494d0c41f600 Author: Paul Howarth <paul@xxxxxxxxxxxx> Date: Wed Oct 2 15:59:18 2013 +0100 Update to 0.18 - New upstream release 0.18 - Add IO::Wrap dependency to Makefile.PL (CPAN RT#78412) - Change longname() to detect names in newer versions of Outlook (CPAN RT#78484) - Specify all dependencies - Drop %defattr, redundant since rpm 4.4 - Use DESTDIR rather than PERL_INSTALL_ROOT - Don't need to remove empty directories from the buildroot - Don't use macros for commands .gitignore | 2 +- perl-Convert-TNEF.spec | 43 +++++++++++++++++++++++++++---------------- sources | 2 +- 3 files changed, 29 insertions(+), 18 deletions(-) --- diff --git a/.gitignore b/.gitignore index 0bb84fe..2e1c02f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -Convert-TNEF-0.17.tar.gz +/Convert-TNEF-[0-9.]*.tar.gz diff --git a/perl-Convert-TNEF.spec b/perl-Convert-TNEF.spec index 7f26c73..45bd9db 100644 --- a/perl-Convert-TNEF.spec +++ b/perl-Convert-TNEF.spec @@ -1,17 +1,22 @@ Name: perl-Convert-TNEF -Version: 0.17 -Release: 22%{?dist} +Version: 0.18 +Release: 1%{?dist} Summary: Perl module to read TNEF files License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Convert-TNEF/ Source0: http://www.cpan.org/authors/id/D/DO/DOUGW/Convert-TNEF-%{version}.tar.gz -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu) BuildArch: noarch +BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(File::Spec) +BuildRequires: perl(integer) BuildRequires: perl(IO::Wrap) BuildRequires: perl(MIME::Body) >= 4.109 -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +BuildRequires: perl(strict) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) %description TNEF stands for Transport Neutral Encapsulation Format, and if you've @@ -22,18 +27,14 @@ attachment, you may want to use this module. %setup -q -n Convert-TNEF-%{version} %build -%{__perl} Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT - -make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT - +make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; -find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; - -%{_fixperms} $RPM_BUILD_ROOT/* +%{_fixperms} $RPM_BUILD_ROOT %check make test @@ -42,12 +43,22 @@ make test rm -rf $RPM_BUILD_ROOT %files -%defattr(-,root,root,-) %doc Changes README -%{perl_vendorlib}/Convert +%{perl_vendorlib}/Convert/ %{_mandir}/man3/Convert::TNEF.3pm* %changelog +* Wed Oct 2 2013 Paul Howarth <paul@xxxxxxxxxxxx> - 0.18-1 +- Update to 0.18 + - Add IO::Wrap dependency to Makefile.PL (CPAN RT#78412) + - Change longname() to detect names in newer versions of Outlook + (CPAN RT#78484) +- Specify all dependencies +- Drop %%defattr, redundant since rpm 4.4 +- Use DESTDIR rather than PERL_INSTALL_ROOT +- Don't need to remove empty directories from the buildroot +- Don't use macros for commands + * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@xxxxxxxxxxxxxxxxxxxxxxx> - 0.17-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild @@ -76,7 +87,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Dec 15 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.17-13 -- 661697 rebuild for fixing problems with vendorach/lib +- Rebuild to fix problems with vendorarch/lib (#661697) * Fri Apr 30 2010 Marcela Maslanova <mmaslano@xxxxxxxxxx> - 0.17-12 - Mass rebuild with perl-5.12.0 @@ -91,7 +102,7 @@ rm -rf $RPM_BUILD_ROOT - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@xxxxxxxxxx> - 0.17-8 -Rebuild for new perl +- Rebuild for new perl * Tue Apr 17 2007 Steven Pritchard <steve@xxxxxxxxx> 0.17-7 - Use fixperms macro instead of our own chmod incantation. @@ -106,7 +117,7 @@ Rebuild for new perl - Spec cleanup (closer to FE perl spec template). - Include COPYING and Artistic. -* Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> +* Wed Apr 6 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - rebuilt * Mon Apr 26 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.17-0.fdr.3 diff --git a/sources b/sources index 09a531a..0cbde58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -31cddf42fae9495b4a686b17ec68d7e0 Convert-TNEF-0.17.tar.gz +6f69ff242a807b861c6e68a3d93a58f7 Convert-TNEF-0.18.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel