fix hardcoded location in ytnefprocess.pl

This commit is contained in:
Itamar Reis Peixoto 2009-11-19 06:47:40 +00:00
commit c40e302dad
2 changed files with 10 additions and 1 deletions

View file

@ -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

View file

@ -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 <itamar@ispbrasil.com.br> - 2.6-5
- fix location in ytnefprocess.pl
* Thu May 28 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 2.6-4
- fix perl requires