mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
spec: Don't install GConf conversion script
We have shipped several releases of RPMs that use gsettings. People have already rebuilt their settings by hand. Installing the conversion script could overwrite their latest bits with old gconf bits (this happened to me).
This commit is contained in:
parent
20cd7f86ca
commit
7c3f9dfcc2
@ -142,10 +142,14 @@ python setup.py configure \
|
||||
|
||||
|
||||
%install
|
||||
python setup.py install -O1 --root=$RPM_BUILD_ROOT
|
||||
|
||||
python setup.py install -O1 --root=%{buildroot}
|
||||
%find_lang %{name}
|
||||
|
||||
# The conversion script was only added to virt-manager after several
|
||||
# Fedora cycles of using gsettings. Installing it now could convert old data
|
||||
# and wipe out recent settings.
|
||||
rm %{buildroot}%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
|
||||
|
||||
|
||||
%post
|
||||
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
@ -182,7 +186,6 @@ fi
|
||||
%{_datadir}/appdata/%{name}.appdata.xml
|
||||
%{_datadir}/applications/%{name}.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.virt-manager.virt-manager.gschema.xml
|
||||
%{_datadir}/GConf/gsettings/org.virt-manager.virt-manager.convert
|
||||
|
||||
|
||||
%files common -f %{name}.lang
|
||||
|
Loading…
Reference in New Issue
Block a user