Not use hardlink absolute path

This commit is contained in:
lingsheng 2020-07-27 15:37:24 +08:00
parent 3fe0598430
commit d8b118dfe8

View File

@ -2,7 +2,7 @@
Name: openEuler-logos Name: openEuler-logos
Version: 1.0 Version: 1.0
Release: 6 Release: 7
Summary: openEuler-related icons and pictures Summary: openEuler-related icons and pictures
License: Licensed only for approved usage, see COPYING for details. License: Licensed only for approved usage, see COPYING for details.
Source0: openEuler-logos-%{version}.tar.xz Source0: openEuler-logos-%{version}.tar.xz
@ -60,7 +60,7 @@ install -p -m 644 icons/hicolor/scalable/apps/xfce4_xicon1.svg $RPM_BUILD_ROOT%{
(cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install) (cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install)
# save some dup'd icons # save some dup'd icons
/usr/sbin/hardlink -v %{buildroot}/ hardlink -v %{buildroot}/
%post %post
touch --no-create %{_datadir}/icons/hicolor || : touch --no-create %{_datadir}/icons/hicolor || :
@ -90,6 +90,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/hicolor/*/apps/*
%changelog %changelog
* Mon Jul 27 2020 lingsheng <lingsheng@huawei.com> - 1.0-7
- Not use hardlink absolute path
* Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-6 * Mon Dec 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0-6
- Type:bugfix - Type:bugfix
- ID:NA - ID:NA