Florian Weimer <fwei...@redhat.com> wrote:

> I think if you want silent deletion, you'll have to add “Obsoletes:
> binutils-sh64-linux-gnu” to the cross-binutils-common package.

Yeah, the following worked:

@@ -129,6 +133,9 @@ converting addresses to file and line).
 Summary: Cross-build binary utility documentation and translation files
 Group: Development/Tools
 BuildArch: noarch
+%if !%{build_sh64}
+Obsoletes: binutils-sh64-linux-gnu
+%endif
 %description -n %{cross}-binutils-common
 Documentation, manual pages and translation files for cross-build binary image
 generation, manipulation and query tools.

I forgot to put the '!' in the %if condition, which didn't help.

David
--
devel mailing list
devel@lists.fedoraproject.org
https://lists.fedoraproject.org/admin/lists/devel@lists.fedoraproject.org

Reply via email to