Mailinglist Archive: opensuse-packaging (94 mails)

< Previous Next >
Re: [opensuse-packaging] Get rid of :xxx package in multibuild
  • From: Brüns, Stefan <Stefan.Bruens@xxxxxxxxxxxxxx>
  • Date: Tue, 19 Nov 2019 17:56:37 +0000
  • Message-id: <2467821.ndbLlLInRU@sbruens-linux.lcs.intern>
On Dienstag, 19. November 2019 18:40:10 CET Hans-Peter Jansen wrote:
Hi,

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

https://build.opensuse.org/package/show/home:frispete:python/python-pycrypto
dome

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

Thanks,
Pete

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).

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.


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


Kind regards,

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

< Previous Next >
Follow Ups
References