!6 Enable debuginfo for fix strip
From: @zhang__3125 Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
d98d43bf12
@ -1,18 +1,16 @@
|
|||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
# Use bundled deps as we don't ship the exact right versions for all the
|
# Use bundled deps as we don't ship the exact right versions for all the
|
||||||
# required rust libraries
|
# required rust libraries
|
||||||
%global bundled_rust_deps 1
|
%global bundled_rust_deps 1
|
||||||
|
|
||||||
Name: gnome-tour
|
Name: gnome-tour
|
||||||
Version: 43.0
|
Version: 43.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: GNOME Tour and Greeter
|
Summary: GNOME Tour and Greeter
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: https://gitlab.gnome.org/GNOME/gnome-tour
|
URL: https://gitlab.gnome.org/GNOME/gnome-tour
|
||||||
Source0: https://download.gnome.org/sources/gnome-tour/43/gnome-tour-%{version}.tar.xz
|
Source0: https://download.gnome.org/sources/gnome-tour/43/gnome-tour-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: meson
|
BuildRequires: meson git
|
||||||
BuildRequires: pkgconfig(glib-2.0)
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(gio-2.0)
|
BuildRequires: pkgconfig(gio-2.0)
|
||||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
@ -149,7 +147,7 @@ sed -i -e '/\(build_by_default\|install\)/s/true/false/' src/meson.build
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%meson
|
%meson -Dprofile=development
|
||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%if ! 0%{?bundled_rust_deps}
|
%if ! 0%{?bundled_rust_deps}
|
||||||
@ -158,6 +156,12 @@ sed -i -e '/\(build_by_default\|install\)/s/true/false/' src/meson.build
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
mv $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/org.gnome.TourDevel.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Tour.svg
|
||||||
|
mv $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.TourDevel-symbolic.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Tour-symbolic.svg
|
||||||
|
mv $RPM_BUILD_ROOT%{_metainfodir}/org.gnome.TourDevel.metainfo.xml $RPM_BUILD_ROOT%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
||||||
|
mv $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.TourDevel.desktop $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Tour.desktop
|
||||||
|
sed -i 's/TourDevel/Tour/g' $RPM_BUILD_ROOT%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
||||||
|
sed -i 's/TourDevel/Tour/g' $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Tour.desktop
|
||||||
|
|
||||||
%if ! 0%{?bundled_rust_deps}
|
%if ! 0%{?bundled_rust_deps}
|
||||||
%cargo_install
|
%cargo_install
|
||||||
@ -180,6 +184,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Tour.des
|
|||||||
%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
%{_metainfodir}/org.gnome.Tour.metainfo.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Mar 13 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-2
|
||||||
|
- Enable debuginfo for fix strip
|
||||||
|
|
||||||
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
|
* Mon Jan 02 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 43.0-1
|
||||||
- Update to 43.0
|
- Update to 43.0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user