use %{buildroot} consistently
This commit is contained in:
parent
2a5514ec41
commit
d1a7fa73b1
@ -72,10 +72,10 @@ help2man -N -n 'batch convert WordPerfect Graphics files into SVG' \
|
|||||||
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
|
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=%{buildroot}
|
||||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||||
# we install API docs directly from build
|
# 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 0755 -d %{buildroot}/%{_mandir}/man1
|
||||||
install -m 0644 wpg2*.1 %{buildroot}/%{_mandir}/man1
|
install -m 0644 wpg2*.1 %{buildroot}/%{_mandir}/man1
|
||||||
|
Loading…
Reference in New Issue
Block a user