From 52859b65dc4a64e1daf5e77c682f772f7283c07c Mon Sep 17 00:00:00 2001 From: Christopher Meng Date: Aug 10 2014 03:12:24 +0000 Subject: Cleanup. --- diff --git a/latex2rtf.spec b/latex2rtf.spec index b16c226..b77117c 100644 --- a/latex2rtf.spec +++ b/latex2rtf.spec @@ -43,7 +43,7 @@ Word for Windows and Word for Macintosh). %prep %setup -q -%patch0 -p1 -b .doc +%patch0 -p1 chmod a-x cfg/*.cfg @@ -66,8 +66,8 @@ done %make_build CFLAGS="%{optflags} -DUNIX -fsigned-char" LDFLAGS="%{?__global_ldflags}" DESTDIR=%{_prefix} CFGDIR=/share/%{name}/cfg %install -make install DESTDIR=%{buildroot}%{_usr} -make install-info DESTDIR=%{buildroot}%{_usr} +make install DESTDIR=%{buildroot}%{_prefix} +make install-info DESTDIR=%{buildroot}%{_prefix} # Remove unnecessary file from infodir rm -f %{buildroot}%{_infodir}/dir