rpms/grepmail/FC-5 grepmail-5.3032-CPAN24341.patch, NONE, 1.1 grepmail.spec, 1.3, 1.4
Paul Howarth (pghmcfc)
fedora-extras-commits at redhat.com
Tue Feb 27 17:46:32 UTC 2007
Author: pghmcfc
Update of /cvs/extras/rpms/grepmail/FC-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30024
Modified Files:
grepmail.spec
Added Files:
grepmail-5.3032-CPAN24341.patch
Log Message:
Fix CPAN RT#24341
grepmail-5.3032-CPAN24341.patch:
--- NEW FILE grepmail-5.3032-CPAN24341.patch ---
--- grepmail-5.3032/grepmail.orig 2005-08-03 05:00:06.000000000 +0100
+++ grepmail-5.3032/grepmail 2007-02-27 16:19:39.000000000 +0000
@@ -1153,7 +1153,7 @@
# This is the main loop. It's executed once for each email
# Direct access for performance reasons
#while($folder_reader->end_of_file())
- while(!$folder_reader->{'end_of_file'})
+ while(!$folder_reader->end_of_file)
{
dprint "Reading email" if $opts{'D'};
Index: grepmail.spec
===================================================================
RCS file: /cvs/extras/rpms/grepmail/FC-5/grepmail.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- grepmail.spec 16 Feb 2006 08:24:06 -0000 1.3
+++ grepmail.spec 27 Feb 2007 17:46:00 -0000 1.4
@@ -1,11 +1,12 @@
Summary: Search mailboxes for a particular email
Name: grepmail
Version: 5.3032
-Release: 3%{?dist}
+Release: 5%{?dist}
License: GPL
Group: Applications/Text
-Source0: http://dl.sf.net/grepmail/grepmail-%{version}.tar.gz
Url: http://grepmail.sourceforge.net/
+Source0: http://dl.sf.net/grepmail/grepmail-%{version}.tar.gz
+Patch0: grepmail-5.3032-CPAN24341.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
@@ -25,6 +26,9 @@
%prep
%setup -q -n %{name}-%{version}
+# Fix for CPAN RT#24341 (test suite failures with recent Mail::Mbox::MessageParser)
+%patch0 -p1 -b .CPAN24341
+
# Permissions wrong in tarball
%{__chmod} -x CHANGES LICENSE README
@@ -36,7 +40,7 @@
%{__rm} -rf %{buildroot}
%{__make} pure_install PERL_INSTALL_ROOT=%{buildroot}
/usr/bin/find %{buildroot} -type f -name .packlist -exec %{__rm} -f {} ';'
-/usr/bin/find %{buildroot} -type d -depth -exec /bin/rmdir {} 2>/dev/null ';'
+/usr/bin/find %{buildroot} -depth -type d -exec /bin/rmdir {} 2>/dev/null ';'
%{__chmod} -R u+w %{buildroot}/*
%check
@@ -48,12 +52,20 @@
%{__rm} -rf %{buildroot}
%files
-%defattr(-,root,root,0755)
+%defattr(-,root,root,-)
%doc README* CHANGES LICENSE
%{_bindir}/grepmail
%{_mandir}/man1/grepmail.1*
%changelog
+* Tue Feb 27 2007 Paul Howarth <paul at city-fan.org> 5.3032-5
+- Add patch to fix CPAN RT#24341 (test suite failures with recent
+ Mail::Mbox::MessageParser)
+- Fix argument order for find with -depth
+
+* Tue Aug 29 2006 Paul Howarth <paul at city-fan.org> 5.3032-4
+- FE6 rebuild
+
* Thu Feb 16 2006 Paul Howarth <paul at city-fan.org> 5.3032-3
- Don't use macros in command paths, hardcode them instead
More information about the scm-commits
mailing list