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:
Cole Robinson 2015-04-11 11:14:04 -04:00
parent 20cd7f86ca
commit 7c3f9dfcc2

View File

@ -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