Bug #393

opennebula spec file change: %files section

Added by Dan Yocum over 10 years ago. Updated over 10 years ago.

Status:ClosedStart date:11/04/2010
Priority:NormalDue 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

files (8.6 KB) Dan Yocum, 11/04/2010 09:30 PM

Associated revisions

Revision e066817b
Added by Stefan Kooman almost 4 years ago

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

Also available in: Atom PDF