Fix to allow Factory virt-manager to build on 11.1

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=31
This commit is contained in:
Charles Arnold 2010-05-21 18:07:44 +00:00 committed by Git OBS Bridge
parent b389bf283e
commit b770ac20c5

View File

@ -195,15 +195,14 @@ sed -i -e 's/Categories=.*/Categories=Qt;X-SuSE-YaST;X-SuSE-YaST-Virtualization;
%files -f %{name}.lst %files -f %{name}.lst
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING AUTHORS ChangeLog %doc COPYING AUTHORS ChangeLog
# %dir %attr(775,root,root) /etc/gconf %if 0%{?suse_version} <= 1110
# %dir %attr(775,root,root) /etc/gconf/schemas %dir %{gsysconfdir}/gconf
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} %dir %{gsysconfdir}/gconf/schemas
%config %{gsysconfdir}/gconf/schemas/%{name}.schemas
%else
%dir %{_datadir}/gconf %dir %{_datadir}/gconf
%dir %{_datadir}/gconf/schemas %dir %{_datadir}/gconf/schemas
%config %{_datadir}/gconf/schemas/%{name}.schemas %config %{_datadir}/gconf/schemas/%{name}.schemas
%else
#%config %{gsysconfdir}/gconf/schemas/%{name}.schemas
%config %{_datadir}/gconf/schemas/%{name}.schemas
%endif %endif
%{_bindir}/%{name} %{_bindir}/%{name}
%{_bindir}/virt-clone %{_bindir}/virt-clone