[Rpm-maint] [rpm-software-management/rpm] Improve description of conditionals + comments in spec documentation (#830)

Panu Matilainen notifications at github.com
Mon Sep 9 12:36:11 UTC 2019

pmatilai commented on this pull request.

>  \verbatim
-	%ifarch ppc64 ppc x86_64
-	...
-	%if 0%{?ver} && 0%{?ver} >= 100
-	...
-	%else
-	...
-	%endif
+	%ifarch %{power64} s390x x86_64 ia64
+	%global architectures 1

The new example is just as meaningles as the old one. While we're at it, lets make the example actually meaningful. As in, something that actually explains why somebody would want to use it, such as this snippet from anaconda.spec:
%ifarch s390 s390x
BuildRequires: s390utils-devel

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190909/109dcb2b/attachment.html>

More information about the Rpm-maint mailing list