diff -r dae915416cf4 -r 2bd265c4cbb9 pinentry/pinentry.spec --- a/pinentry/pinentry.spec Fri Oct 22 22:51:26 2010 +0200 +++ b/pinentry/pinentry.spec Fri Oct 22 22:52:01 2010 +0200 @@ -32,7 +32,7 @@ Group: Terminal License: GPL Version: 0.8.0 -Release: 20100303 +Release: 20101020 # package options %option with_x11 no @@ -42,6 +42,8 @@ Patch0: pinentry.patch # build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20100101 PreReq: OpenPKG, openpkg >= 20100101 BuildPreReq: ncurses, libiconv @@ -93,6 +95,7 @@ %{l_make} %{l_mflags -O} %install + rm -rf $RPM_BUILD_ROOT %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir @@ -101,4 +104,5 @@ %files -f files %clean + rm -rf $RPM_BUILD_ROOT