Set the list of official sources

This commit is contained in:
Richard Hughes 2016-04-01 09:28:17 +01:00
parent e4d5dfc7eb
commit 658bde84d1

View File

@ -78,6 +78,12 @@ rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la
desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \
--set-key=X-AppInstall-Package --set-value=%{name}
# set up for Fedora
cat >> %{buildroot}%{_datadir}/glib-2.0/schemas/org.gnome.software-fedora.gschema.override << FOE
[org.gnome.software]
official-sources = [ 'fedora', 'fedora-debuginfo', 'fedora-source', 'koji-override-0', 'koji-override-1', 'rawhide', 'rawhide-debuginfo', 'rawhide-source', 'updates', 'updates-debuginfo', 'updates-source', 'updates-testing', 'updates-testing-debuginfo', 'updates-testing-source' ]
FOE
%find_lang %name --with-gnome
%check
@ -119,6 +125,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
%dir %{_datadir}/gnome-software/modulesets.d
%{_datadir}/gnome-software/modulesets.d/*.xml
%{_datadir}/glib-2.0/schemas/org.gnome.software-fedora.gschema.override
%changelog
* Tue Mar 22 2016 Kalev Lember <klember@redhat.com> - 3.20.0-1