From d1a7fa73b11dbb044d3f515e12430e1463e42d15 Mon Sep 17 00:00:00 2001 From: David Tardon Date: Wed, 9 Apr 2014 15:16:02 +0200 Subject: [PATCH] use %{buildroot} consistently --- libwpg.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libwpg.spec b/libwpg.spec index e5dc60f..9547420 100644 --- a/libwpg.spec +++ b/libwpg.spec @@ -72,10 +72,10 @@ help2man -N -n 'batch convert WordPerfect Graphics files into SVG' \ -o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl %install -make install DESTDIR=$RPM_BUILD_ROOT -find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' +make install DESTDIR=%{buildroot} +find %{buildroot} -name '*.la' -exec rm -f {} ';' # we install API docs directly from build -rm -rf $RPM_BUILD_ROOT/%{_docdir}/%{name} +rm -rf %{buildroot}/%{_docdir}/%{name} install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0644 wpg2*.1 %{buildroot}/%{_mandir}/man1