From 5c4f6799aeaac5a9cba1bd5c0702c6bba2481fe0 Mon Sep 17 00:00:00 2001 From: chen-jan Date: Wed, 22 Sep 2021 08:06:20 +0000 Subject: [PATCH] fix hardlink command cannot be found --- openEuler-logos.spec | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/openEuler-logos.spec b/openEuler-logos.spec index 30f447b..3f816e2 100644 --- a/openEuler-logos.spec +++ b/openEuler-logos.spec @@ -2,12 +2,11 @@ Name: openEuler-logos Version: 1.0 -Release: 6 +Release: 7 Summary: openEuler-related icons and pictures License: Licensed only for approved usage, see COPYING for details. Source0: openEuler-logos-%{version}.tar.xz BuildArch: noarch -BuildRequires: hardlink Requires(post): coreutils Provides: gnome-logos = %{version}-%{release} system-logos = %{version}-%{release} @@ -60,7 +59,7 @@ install -p -m 644 icons/hicolor/scalable/apps/xfce4_xicon1.svg $RPM_BUILD_ROOT%{ (cd anaconda; make DESTDIR=$RPM_BUILD_ROOT install) # save some dup'd icons -/usr/sbin/hardlink -v %{buildroot}/ +hardlink -v %{buildroot}/ %post touch --no-create %{_datadir}/icons/hicolor || : @@ -90,6 +89,9 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %{_datadir}/icons/hicolor/*/apps/* %changelog +* Wed Sep 22 2021 chenchen - 1.0-7 +- fix hardlink command cannot be found + * Mon Dec 30 2019 openEuler Buildteam - 1.0-6 - Type:bugfix - ID:NA -- Gitee