Move vendor.conf to /usr/share

This commit is contained in:
Michael Catanzaro 2018-04-02 17:42:46 -05:00
parent 48a6246374
commit 5fe375bba0

View File

@ -6,7 +6,7 @@
Name: gnome-initial-setup Name: gnome-initial-setup
Version: 3.28.0 Version: 3.28.0
Release: 4%{?dist} Release: 5%{?dist}
Summary: Bootstrapping your OS Summary: Bootstrapping your OS
License: GPLv2+ License: GPLv2+
@ -70,7 +70,9 @@ you through configuring it. It is integrated with gdm.
%autosetup -p1 %autosetup -p1
%build %build
%configure --enable-software-sources %configure \
--enable-software-sources \
--with-vendor-conf-file=%{_datadir}/gnome-initial-setup/vendor.conf
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -84,8 +86,8 @@ desktop-file-validate %{buildroot}%{_sysconfdir}/xdg/autostart/gnome-initial-set
desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/gnome-initial-setup.desktop
desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/setup-shell.desktop desktop-file-validate %{buildroot}%{_datadir}/gdm/greeter/applications/setup-shell.desktop
mkdir -p %{buildroot}%{_localstatedir}/lib/gnome-initial-setup mkdir -p %{buildroot}%{_datadir}/gnome-initial-setup
cp %{SOURCE1} %{buildroot}%{_localstatedir}/lib/gnome-initial-setup/ cp %{SOURCE1} %{buildroot}%{_datadir}/gnome-initial-setup/
%find_lang %{name} %find_lang %{name}
@ -108,10 +110,13 @@ useradd -rM -d /run/gnome-initial-setup/ -s /sbin/nologin %{name} &>/dev/null ||
%{_datadir}/gnome-shell/modes/initial-setup.json %{_datadir}/gnome-shell/modes/initial-setup.json
%{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules %{_datadir}/polkit-1/rules.d/20-gnome-initial-setup.rules
%dir %{_localstatedir}/lib/gnome-initial-setup %dir %{_datadir}/gnome-initial-setup
%{_localstatedir}/lib/gnome-initial-setup/vendor.conf %{_datadir}/gnome-initial-setup/vendor.conf
%changelog %changelog
* Mon Apr 02 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-5
- Move vendor.conf to /usr/share
* Sat Mar 31 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-4 * Sat Mar 31 2018 Michael Catanzaro <mcatanzaro@gnome.org> - 3.28.0-4
- Forgot to update vendor.conf in the previous build - Forgot to update vendor.conf in the previous build