Fri, 22 Oct 2010 22:52:01 +0200
Backport RPM boilerplate logic required by legacy OpenPKG scripts.
pinentry/pinentry.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/pinentry/pinentry.spec Fri Oct 22 22:51:26 2010 +0200 1.2 +++ b/pinentry/pinentry.spec Fri Oct 22 22:52:01 2010 +0200 1.3 @@ -32,7 +32,7 @@ 1.4 Group: Terminal 1.5 License: GPL 1.6 Version: 0.8.0 1.7 -Release: 20100303 1.8 +Release: 20101020 1.9 1.10 # package options 1.11 %option with_x11 no 1.12 @@ -42,6 +42,8 @@ 1.13 Patch0: pinentry.patch 1.14 1.15 # build information 1.16 +Prefix: %{l_prefix} 1.17 +BuildRoot: %{l_buildroot} 1.18 BuildPreReq: OpenPKG, openpkg >= 20100101 1.19 PreReq: OpenPKG, openpkg >= 20100101 1.20 BuildPreReq: ncurses, libiconv 1.21 @@ -93,6 +95,7 @@ 1.22 %{l_make} %{l_mflags -O} 1.23 1.24 %install 1.25 + rm -rf $RPM_BUILD_ROOT 1.26 %{l_make} %{l_mflags} install AM_MAKEFLAGS="DESTDIR=$RPM_BUILD_ROOT" 1.27 strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true 1.28 rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir 1.29 @@ -101,4 +104,5 @@ 1.30 %files -f files 1.31 1.32 %clean 1.33 + rm -rf $RPM_BUILD_ROOT 1.34