Mon, 22 Nov 2010 12:41:49 +0100
Backport RPM boilerplate logic required by legacy OpenPKG scripts.
davical/davical.spec | file | annotate | diff | comparison | revisions |
1.1 --- a/davical/davical.spec Mon Nov 22 12:39:58 2010 +0100 1.2 +++ b/davical/davical.spec Mon Nov 22 12:41:49 2010 +0100 1.3 @@ -37,7 +37,7 @@ 1.4 Group: Network 1.5 License: GPL 1.6 Version: %{V_opkg} 1.7 -Release: 20100926 1.8 +Release: 20101120 1.9 1.10 # package options 1.11 %define with_ssl no 1.12 @@ -52,8 +52,10 @@ 1.13 Patch0: davical.patch 1.14 1.15 # build information 1.16 -BuildPreReq: OpenPKG, openpkg >= 20100101 1.17 -PreReq: OpenPKG, openpkg >= 20100101 1.18 +Prefix: %{l_prefix} 1.19 +BuildRoot: %{l_buildroot} 1.20 +BuildPreReq: OpenPKG, openpkg >= 20060823 1.21 +PreReq: OpenPKG, openpkg >= 20060823 1.22 PreReq: pcre, pcre::with_utf8 1.23 PreReq: apache 1.24 %if "%{with_ssl}" == "yes" 1.25 @@ -151,6 +153,7 @@ 1.26 %files -f files 1.27 1.28 %clean 1.29 + rm -rf $RPM_BUILD_ROOT 1.30 1.31 %post 1.32 if [ $1 -eq 1 ]; then