!10 remove rpath
From: @caodongxia Reviewed-by: @dwl301 Signed-off-by: @dwl301
This commit is contained in:
commit
81349a811b
15
eog.spec
15
eog.spec
@ -1,6 +1,6 @@
|
||||
Name: eog
|
||||
Version: 3.38.3
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: A GNOME Image Viewer
|
||||
License: GPLv2+ and GFDL
|
||||
URL: https://wiki.gnome.org/Apps/EyeOfGnome
|
||||
@ -41,6 +41,15 @@ The tests package can be used to verify the Usability of the eog package.
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{name} --with-gnome
|
||||
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
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/*.appdata.xml
|
||||
@ -56,6 +65,7 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.deskto
|
||||
%{_datadir}/GConf/gsettings/eog.convert
|
||||
%{_datadir}/glib-2.0/schemas/*
|
||||
%{_datadir}/metainfo/eog.appdata.xml
|
||||
%config(noreplace) /etc/ld.so.conf.d/*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/eog-3.0
|
||||
@ -68,6 +78,9 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.eog.deskto
|
||||
%{_datadir}/installed-tests/
|
||||
|
||||
%changelog
|
||||
* Wed Sep 9 2021 caodongxia <caodongxia@huawei.com> - 3.38.3-2
|
||||
- Remove rpath
|
||||
|
||||
* Mon Jun 7 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.3-1
|
||||
- Upgrade to 3.38.3
|
||||
- Update Version, Release, Source0, BuildRequires
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user