!13 [sync] PR-12: remove rpath
From: @openeuler-sync-bot Reviewed-by: @zhang__3125 Signed-off-by: @zhang__3125
This commit is contained in:
commit
2e5e81f18f
@ -11,7 +11,7 @@
|
||||
|
||||
Name: gnome-software
|
||||
Version: 42.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: GNOME software Store
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Software
|
||||
@ -32,6 +32,7 @@ BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
|
||||
BuildRequires: libxmlb-devel >= %{libxmlb_version}
|
||||
BuildRequires: PackageKit-glib-devel >= %{packagekit_version}
|
||||
BuildRequires: flatpak-devel >= %{flatpak_version}
|
||||
BuildRequires: chrpath
|
||||
#BuildRequires: sysprof-capture-devel
|
||||
#BuildRequires: malcontent-devel
|
||||
#BuildRequires: malcontent-ui-devel
|
||||
@ -92,9 +93,23 @@ install -d %{buildroot}%{_datadir}/gnome-software/backgrounds
|
||||
|
||||
%find_lang %name --with-gnome
|
||||
|
||||
chrpath -d %{buildroot}%{_libdir}/%{name}/plugins-18/libgs_plugin_rpm-ostree.so
|
||||
chrpath -d %{buildroot}%{_libexecdir}/gnome-software-cmd
|
||||
chrpath -d %{buildroot}%{_bindir}/%{name}
|
||||
|
||||
mkdir -p %{buildroot}/etc/ld.so.conf.d
|
||||
echo "%{_libdir}/%{name}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
echo "%{_libdir}/rpm-ostree" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
|
||||
%check
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%files -f gnome-software.lang
|
||||
%license COPYING
|
||||
%{_bindir}/gnome-software
|
||||
@ -114,6 +129,8 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.software.gschema.xml
|
||||
%{_libexecdir}/{gnome-software-cmd,gnome-software-restarter}
|
||||
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
|
||||
%files devel
|
||||
%{_libdir}/gnome-software/libgnomesoftware.so
|
||||
%{_libdir}/pkgconfig/gnome-software.pc
|
||||
@ -127,6 +144,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
||||
%{_mandir}/man1/gnome-software.1.*
|
||||
|
||||
%changelog
|
||||
* Wed Aug 24 2022 caodongxia <caodongxia@h-partners.com> -42.2-2
|
||||
- Remove rpath
|
||||
|
||||
* Tue Jun 28 2022 weijin deng <weijin.deng@turbolinux.com.cn> - 42.2-1
|
||||
- Update to 42.2
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user