# HG changeset patch # User Michael Schloh von Bennewitz # Date 1290426109 -3600 # Node ID 52571005077f62d052bb2195db03fd90cba5608a # Parent 731574048d851e6f794f800ea5fbf0a01b8893fd Backport RPM boilerplate logic required by legacy OpenPKG scripts. diff -r 731574048d85 -r 52571005077f davical/davical.spec --- a/davical/davical.spec Mon Nov 22 12:39:58 2010 +0100 +++ b/davical/davical.spec Mon Nov 22 12:41:49 2010 +0100 @@ -37,7 +37,7 @@ Group: Network License: GPL Version: %{V_opkg} -Release: 20100926 +Release: 20101120 # package options %define with_ssl no @@ -52,8 +52,10 @@ Patch0: davical.patch # build information -BuildPreReq: OpenPKG, openpkg >= 20100101 -PreReq: OpenPKG, openpkg >= 20100101 +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823 +PreReq: OpenPKG, openpkg >= 20060823 PreReq: pcre, pcre::with_utf8 PreReq: apache %if "%{with_ssl}" == "yes" @@ -151,6 +153,7 @@ %files -f files %clean + rm -rf $RPM_BUILD_ROOT %post if [ $1 -eq 1 ]; then