Mailinglist Archive: opensuse-packaging (94 mails)

< Previous Next >
Re: [opensuse-packaging] Get rid of :xxx package in multibuild
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Tue, 19 Nov 2019 21:04:53 +0100
  • Message-id: <9802126.gsntiTu1ZZ@xrated>
Am Dienstag, 19. November 2019, 18:56:37 CET schrieb Brüns, Stefan:
On Dienstag, 19. November 2019 18:40:10 CET Hans-Peter Jansen wrote:

here's a multibuild for PyCryptodome, that should result in two packages:
python-pycryptodome and python-pycryptodomex:
to dome

How do I get rid of the ":x" package?


P.S. 1:
You are also affected by the "verbatim" nature of %description:

Any %if/%else/%endif statement is replaced by blank lines, which then show
up in the package description (go to the "Details" of e.g. the .src.rpm).

Oh, strange. Especially strange, that they piled up in one place?!?

To fix this, you have to put the whole %description block inside the
%if..endif block. Another possiblility is to wrap the description content
i a macro, IIRC, but have never used this.

Done. Good catch.

P.S. 2:
Your spec mixes "_distname" / "distname".

Hrmpf ^2. Yes, that was me in a hurry. It was an attempt to fix a strange
issue, when using

%define namespace Cryptodome

resulted in:

[ 134s] RPM build errors:
[ 134s] Directory not found: /home/abuild/rpmbuild/BUILDROOT/python-

in other words, it substituted %{namespace} with the %{name} macro in a local
build. NO fun. I'm not even sure, which tree I should bark at with this


To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-packaging+owner@xxxxxxxxxxxx

< Previous Next >