Web application RPM notes
Key elements of RPM spec files when used with web applications:
- Source: - source should be the distribution tar file. If it isn’t yours (meaning it is an open source application), it is best to use the original or distribution URL. That way, you are sure it is unaltered
- Build: - this is really just a copy into a directory
- Files: - since there really isn’t a build process, you are just identifying the files and where they will go. The command suggestion below can be used to generate the filelist.
- Provides and requires must be set carefully to make this work well for complex systems
tar -tzf eztagcloud.tgz | grep -v ".*/$" | awk '{ print "\"""%{targetdir}"$0"\""; }'
Print article | This entry was posted by elvis on 06/15/08 at 07:24:13 am . Follow any responses to this post through RSS 2.0. |