[packages/ytnef] - fix non existing perl dep and wrong path in ytnefprocess.pl - rel 3

baggins baggins at pld-linux.org
Sun Feb 1 14:47:53 CET 2015


commit 585d329f71a85506e5fae4e1c45e66420c1c259a
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Feb 1 14:47:15 2015 +0100

    - fix non existing perl dep and wrong path in ytnefprocess.pl
    - rel 3

 fix-ytnefprocess.patch | 14 ++++++++++++++
 ytnef.spec             |  9 +++------
 2 files changed, 17 insertions(+), 6 deletions(-)
---
diff --git a/ytnef.spec b/ytnef.spec
index 74e5c3b..ba5a5e7 100644
--- a/ytnef.spec
+++ b/ytnef.spec
@@ -3,7 +3,7 @@ Summary:	Yerase's TNEF Stream Reader
 Summary(pl.UTF-8):	Czytnik strumieni TNET autorstwa Yerase
 Name:		ytnef
 Version:	2.6
-Release:	2
+Release:	3
 License:	GPL v2+
 Group:		Libraries
 # note: development continued on https://github.com/Yeraze/ytnef
@@ -12,6 +12,7 @@ Source0:	http://downloads.sourceforge.net/ytnef/%{name}-%{version}.tar.gz
 Patch0:		%{name}-snprintf.patch
 Patch1:		%{name}-filenames.patch
 Patch2:		%{name}-snprintf2.patch
+Patch3:		fix-ytnefprocess.patch
 URL:		https://github.com/Yeraze/ytnef
 BuildRequires:	libytnef-devel
 BuildRequires:	rpm-perlprov
@@ -34,13 +35,9 @@ oraz wpisów kalendarza.
 %patch0 -p2
 %patch1 -p2
 %patch2 -p2
+%patch3 -p1
 
 %build
-#{__libtoolize}
-#{__aclocal}
-#{__autoconf}
-#{__autoheader}
-#{__automake}
 %configure
 %{__make}
 
diff --git a/fix-ytnefprocess.patch b/fix-ytnefprocess.patch
new file mode 100644
index 0000000..4d66488
--- /dev/null
+++ b/fix-ytnefprocess.patch
@@ -0,0 +1,14 @@
+--- ytnef-2.6/src/ytnef/ytnefprocess.pl~	2003-08-25 19:11:57.000000000 +0200
++++ ytnef-2.6/src/ytnef/ytnefprocess.pl	2015-02-01 14:45:54.895888601 +0100
+@@ -2,10 +2,9 @@
+ use MIME::Parser;
+ use MIME::Entity;
+ use Mail::Mailer;
+-use Mail::Mailer::test;
+ 
+ my $mail_dir = "$ENV{HOME}/.ytnef";
+-my $reader = "/usr/local/bin/ytnef";
++my $reader = "/usr/bin/ytnef";
+ my $output_dir = "$mail_dir/output";
+ 
+ my $parser = new MIME::Parser;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ytnef.git/commitdiff/585d329f71a85506e5fae4e1c45e66420c1c259a



More information about the pld-cvs-commit mailing list