Accepting request 1137486 from home:yfjiang:branches:GNOME:Factory
- Do not use _distconfdir on SLE/Leap less than version 16. OBS-URL: https://build.opensuse.org/request/show/1137486 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-software?expand=0&rev=271
This commit is contained in:
parent
18e475dc1a
commit
a26fc3856b
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 02:27:35 UTC 2023 - Yifan Jiang <yfjiang@suse.com>
|
||||
|
||||
- Do not use _distconfdir on SLE/Leap less than version 16.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 15 09:33:16 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gnome-software
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -119,9 +119,11 @@ the GNOME software store.
|
||||
|
||||
# Remove any piece of doc that ends up in non-standard locations and use the doc macro instead
|
||||
rm %{buildroot}%{_datadir}/doc/%{name}/README.md
|
||||
%if !0%{?sle_version} || 0%{?sle_version} >= 160000
|
||||
# Move autostart file to /usr/etc
|
||||
mkdir -p %{buildroot}%{_distconfdir}/xdg/autostart
|
||||
mv %{buildroot}%{_sysconfdir}/xdg/autostart/org.gnome.Software.desktop %{buildroot}%{_distconfdir}/xdg/autostart/org.gnome.Software.desktop
|
||||
%endif
|
||||
|
||||
cat >> %{buildroot}%{_datadir}/glib-2.0/schemas/20_org.gnome.software-opensuse.gschema.override << FOE
|
||||
[org.gnome.software]
|
||||
@ -152,7 +154,11 @@ FOE
|
||||
%{_libexecdir}/gnome-software-cmd
|
||||
%{_libexecdir}/gnome-software-restarter
|
||||
%{_mandir}/man1/%{name}.1%{?ext_man}
|
||||
%if !0%{?sle_version} || 0%{?sle_version} >= 160000
|
||||
%{_distconfdir}/xdg/autostart/org.gnome.Software.desktop
|
||||
%else
|
||||
%{_sysconfdir}/xdg/autostart/org.gnome.Software.desktop
|
||||
%endif
|
||||
|
||||
%dir %{_libdir}/gnome-software/plugins-%{gs_plugin_api}/
|
||||
%{_libdir}/gnome-software/plugins-%{gs_plugin_api}/libgs_plugin_dpkg.so
|
||||
|
Loading…
x
Reference in New Issue
Block a user