Mon, 22 Nov 2010 16:55:00 +0100
Backport RPM boilerplate logic required by legacy OpenPKG scripts.
postgresql/postgresql.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/postgresql/postgresql.spec Mon Nov 22 16:54:26 2010 +0100 1.2 +++ b/postgresql/postgresql.spec Mon Nov 22 16:55:00 2010 +0100 1.3 @@ -48,7 +48,7 @@ 1.4 Group: Database 1.5 License: GPL 1.6 Version: %{V_postgresql} 1.7 -Release: 20101101 1.8 +Release: 20101120 1.9 1.10 # package options 1.11 %option with_server yes 1.12 @@ -81,8 +81,10 @@ 1.13 Patch0: postgresql.patch 1.14 1.15 # build information 1.16 -BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, flex, bison, gzip 1.17 -PreReq: OpenPKG, openpkg >= 20100101 1.18 +Prefix: %{l_prefix} 1.19 +BuildRoot: %{l_buildroot} 1.20 +BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc, flex, bison, gzip 1.21 +PreReq: OpenPKG, openpkg >= 20060823 1.22 BuildPreReq: readline, zlib, openssl, getopt 1.23 PreReq: readline, zlib, openssl, getopt 1.24 %if "%{with_perl}" == "yes" 1.25 @@ -627,6 +629,7 @@ 1.26 %files -f files 1.27 1.28 %clean 1.29 + rm -rf $RPM_BUILD_ROOT 1.30 1.31 %pre 1.32 %if "%{with_server}" == "yes"