For an update here. I was able to go with two very simple spec files since 
I use puppet for the cron jobs, apache config files, etc and I simply made 
two RPMs, one of stock web2py and one of my application with my app listing 
web2py as a dependency.

What you're discussing, LightDot, sounds interesting.

-- 



#------------------------------------------------------------------------------
# P A C K A G E  I N F O
#------------------------------------------------------------------------------


Name:     sap2py
Version:  1.0
Release:  1
Summary:  Usage reports
License:  LGPLv3
Group:    System Environment/Daemons
BuildArch: noarch
Source0:  web2py-%{version}.tar.gz

Buildroot: %{_tmppath}/web2py

%description
(description)



#------------------------------------------------------------------------------
# B U I L D
#------------------------------------------------------------------------------

%prep
%setup -q
%build



#------------------------------------------------------------------------------
# I N S T A L L  F I L E S
#------------------------------------------------------------------------------

%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT

mkdir -p -m 755 /opt/sap/www/
cp -r web2py /opt/sap/www/

Reply via email to