From c40e302dade0de4d2ed5ebbedeb511fa2fea8408 Mon Sep 17 00:00:00 2001 From: Itamar Reis Peixoto Date: Thu, 19 Nov 2009 06:47:40 +0000 Subject: [PATCH] fix hardcoded location in ytnefprocess.pl --- import.log | 1 + ytnef.spec | 10 +++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/import.log b/import.log index b272f1b..9dcf99b 100644 --- a/import.log +++ b/import.log @@ -1 +1,2 @@ ytnef-2_6-4_fc12:F-11:ytnef-2.6-4.fc12.src.rpm:1250808414 +ytnef-2_6-5_fc12:F-11:ytnef-2.6-5.fc12.src.rpm:1258613213 diff --git a/ytnef.spec b/ytnef.spec index 1a4c020..f91990b 100644 --- a/ytnef.spec +++ b/ytnef.spec @@ -1,7 +1,7 @@ Summary: Yerase's TNEF Stream Reader Name: ytnef Version: 2.6 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL+ Group: Applications/Productivity URL: http://sourceforge.net/projects/ytnef/ @@ -20,6 +20,11 @@ construction of Contact Cards & Calendar entries. %setup -q %patch0 -p2 + +#fix location +%{__sed} -i 's|my $reader = "/usr/local/bin/ytnef";|my $reader = "%{_bindir}/ytnef";|g' src/ytnef/ytnefprocess.pl + + %build %configure %{__make} %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/libytnef" @@ -39,6 +44,9 @@ construction of Contact Cards & Calendar entries. %{_bindir}/ytnefprocess.pl %changelog +* Thu Nov 19 2009 Itamar Reis Peixoto - 2.6-5 +- fix location in ytnefprocess.pl + * Thu May 28 2009 Itamar Reis Peixoto - 2.6-4 - fix perl requires