[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] new %{pythons} macro, that isn't defined anywhere
From:       Johannes Kastl <kastl () b1-systems ! de>
Date:       2018-06-13 20:00:26
Message-ID: 42ddd509-d8fe-1096-e001-6bc5bc93269e () b1-systems ! de
[Download RAW message or body]

[Attachment #2 (multipart/mixed)]


Hans-Peter Jansen schrieb:

> Yes, it appeared lately. Unfortunately, defining it for older
> distributions is failing ATM, at least for me.

I tried with the following, but this leads to failing builds for most
packages (error: Package already exists: %package -n python-foobar):

# Leap 42.2
%if "%_repository" == "openSUSE_Leap_42.2"
%define pythons %{?!skip_python2:python} %{?!skip_python3:python3}
Macros:
%pythons %{?!skip_python2:python} %{?!skip_python3:python3}
:Macros
%endif

> I've created an issue here:
> 
> https://github.com/openSUSE/python-rpm-macros/issues/16

Thanks!


-- 
Johannes Kastl
Linux Consultant & Trainer
Tel.: +49 (0) 151 2372 5802
Mail: kastl@b1-systems.de

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


["signature.asc" (application/pgp-signature)]
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic