diff --git a/anolis-logos.spec b/anolis-logos.spec index dbcd5568ab233fa8cb120ce81d74f7b7c2f28116..f63e6353d2e7547918377093ef5abc61736d7893 100644 --- a/anolis-logos.spec +++ b/anolis-logos.spec @@ -17,15 +17,13 @@ License: Licensed only for approved usage, see COPYING for details. Provides: system-logos = %{version}-%{release} Provides: system-logos = %{upstream_version} -Obsoletes: centos-logos -Obsoletes: redhat-logos # For splashtolss.sh %ifarch x86_64 BuildRequires: netpbm-progs %endif Requires(post): coreutils -BuildRequires: hardlink +BuildRequires: util-linux-core %description Licensed only for approved usage, see COPYING for details. @@ -34,8 +32,6 @@ Licensed only for approved usage, see COPYING for details. Summary: Anolis OS related icons and pictures used by httpd Provides: system-logos-httpd = %{version}-%{release} Provides: system-logos-httpd = %{upstream_version} -Obsoletes: redhat-logos-httpd -Obsoletes: centos-logos-httpd BuildArch: noarch %description httpd @@ -45,8 +41,6 @@ Licensed only for approved usage, see COPYING for details. Summary: Anolis OS related icons and pictures used by ipa Provides: system-logos-ipa = %{version}-%{release} Provides: system-logos-ipa = %{upstream_version} -Obsoletes: redhat-logos-ipa -Obsoletes: centos-logos-ipa BuildArch: noarch %description ipa @@ -58,12 +52,8 @@ BuildArch: noarch Provides: system-backgrounds = %{version}-%{release} Provides: system-backgrounds = %{upstream_version} -Obsoletes: redhat-backgrounds -Obsoletes: centos-backgrounds Requires: anolis-logos = %{version}-%{release} -Obsoletes: redhat-logos -Obsoletes: centos-logos %description -n anolis-backgrounds @@ -135,7 +125,7 @@ cp -a ipa/*.jpg $RPM_BUILD_ROOT%{_datadir}/ipa/ui/images # save some dup'd icons # Except in /boot. Because some people think it is fun to use VFAT for /boot. -/usr/sbin/hardlink -v %{buildroot}/usr +/usr/bin/hardlink -v %{buildroot}/usr %ifnarch x86_64 i686 rm -f $RPM_BUILD_ROOT%{_datadir}/anaconda/boot/splash.lss