Bug #393
opennebula spec file change: %files section
Status: | Closed | Start date: | 11/04/2010 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Jaime Melis | % Done: | 0% | |
Category: | - | |||
Target version: | Release 2.0.1 | |||
Resolution: | Pull request: | |||
Affected Versions: |
Description
Hi,
Currently, the opennebula.spec file doesn't specify the %config files in the %files section. This is necessary so that during an 'rpm -U' upgrade, the %config files aren't modified/removed.
The next rpm version of opennebula will need a %preun section that saves off the current config files before uninstalling the software. Here's a first stab at that section:
%preun
cd /etc/one
for conf in `find . -print | grep conf`
do
cp -f $conf ${conf}.rpmsave
done
I've attached a %files section for the next version.
Dan
Associated revisions
When zone is not specified we should prepend with "the". If the name of the zone would be given "the" would not be needed. (#393)
THANKS :)
History
#1 Updated by Ruben S. Montero over 10 years ago
- Target version set to Release 2.0.1
#2 Updated by Jaime Melis over 10 years ago
- Status changed from New to Closed
We have solved this issue by adding the configuration files to the %config section