[Bug 353522] New: /etc/eclipse.conf is not marked %config
https://bugzilla.novell.com/show_bug.cgi?id=353522 Summary: /etc/eclipse.conf is not marked %config Product: openSUSE 11.0 Version: unspecified Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: felix@derklecks.de QAContact: qa@suse.de Found By: --- /etc/eclipse.conf is overwritten on every update. # rpm -qf /etc/eclipse.conf eclipse-scripts-3.3-88 All eclipse rpms are built from eclipse.spec and installed with the following: for rpm in %{archdepname} %{archdepname}-jdt %{archdepname}-pde %{archdepname}-platform-commons %{archdepname}-scripts %{archdepname}-source do FILES=$( echo $rpm | sed "s/%{archdepname}/eclipse/").files for file in $( rpm -q --list $rpm | sort ) do DESTDIR=$RPM_BUILD_ROOT/$(dirname $file) if [ -d $file ] then mkdir -p $DESTDIR/$file echo "%dir $file" >> $FILES continue fi if [ ! -e $DESTDIR ] then mkdir -p $DESTDIR fi echo $file >> $FILES cp $file $DESTDIR done done They are packaged with the following: %files scripts -f eclipse-scripts.files %defattr(-,root,root,-) As all files are just "echo $file >> $FILES" eclipse.conf is not marked as a config file and therefore overwritten on every update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=353522
User felix@derklecks.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=353522#c1
Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=353522
User felix@derklecks.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=353522#c2
--- Comment #2 from Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=353522
Felix Möller
https://bugzilla.novell.com/show_bug.cgi?id=353522
User anosek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=353522#c3
Ales Nosek
https://bugzilla.novell.com/show_bug.cgi?id=353522
User anosek@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=353522#c4
Ales Nosek
participants (1)
-
bugzilla_noreply@novell.com