[opensuse-buildservice] OBS builds for Leap 15.2 has wrong sle_version
Hi, building here: https://build.opensuse.org/project/monitor/home:computersalat:certbot having the following in prjconf: %if 0%{?is_opensuse} && 0%{?sle_version} >= 150000 %if 0%{?is_opensuse} && 0%{?sle_version} == 150000 Release: lp150.<CI_CNT>.<B_CNT>.CS %endif %if 0%{?is_opensuse} && 0%{?sle_version} == 150100 Release: lp151.<CI_CNT>.<B_CNT>.CS %endif %if 0%{?is_opensuse} && 0%{?sle_version} == 150200 Release: lp152.<CI_CNT>.<B_CNT>.CS %endif %else Release: <CI_CNT>.<B_CNT>.CS %endif info taken from here: https://en.opensuse.org/openSUSE:Packaging_for_Leap Build results: builds for Leap 15.1: https://build.opensuse.org/package/live_build_log/home:computersalat:certbot... [ 81s] build: extracting built packages... [ 81s] RPMS/noarch/python3-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] RPMS/noarch/python2-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] SRPMS/python-acme-1.6.0-lp151.1.2.CS.src.rpm builds for Leap 15.2: https://build.opensuse.org/package/live_build_log/home:computersalat:certbot... [ 81s] build: extracting built packages... [ 81s] RPMS/noarch/python3-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] RPMS/noarch/python2-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] SRPMS/python-acme-1.6.0-lp151.1.2.CS.src.rpm for Leap 15.2 it should be 'lp152' Why is it not correctly set ? How to fix ? -- Christian ------------------------------------------------------------ https://join.worldcommunitygrid.org?recruiterId=177038 ------------------------------------------------------------ http://www.sc24.de - Sportbekleidung ------------------------------------------------------------
On samedi 15 août 2020 17:21:52 CEST Christian wrote:
Hi,
building here: https://build.opensuse.org/project/monitor/home:computersalat:certbot
having the following in prjconf: %if 0%{?is_opensuse} && 0%{?sle_version} >= 150000
%if 0%{?is_opensuse} && 0%{?sle_version} == 150000 Release: lp150.<CI_CNT>.<B_CNT>.CS %endif
%if 0%{?is_opensuse} && 0%{?sle_version} == 150100 Release: lp151.<CI_CNT>.<B_CNT>.CS %endif
%if 0%{?is_opensuse} && 0%{?sle_version} == 150200 Release: lp152.<CI_CNT>.<B_CNT>.CS %endif
%else Release: <CI_CNT>.<B_CNT>.CS %endif
info taken from here: https://en.opensuse.org/openSUSE:Packaging_for_Leap
Build results:
builds for Leap 15.1: https://build.opensuse.org/package/live_build_log/home:computersalat:certbot /python-acme/openSUSE_Leap_15.2/x86_64 [ 81s] build: extracting built packages... [ 81s] RPMS/noarch/python3-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] RPMS/noarch/python2-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] SRPMS/python-acme-1.6.0-lp151.1.2.CS.src.rpm
builds for Leap 15.2: https://build.opensuse.org/package/live_build_log/home:computersalat:certbot /python-acme/openSUSE_Leap_15.2/x86_64 [ 81s] build: extracting built packages... [ 81s] RPMS/noarch/python3-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] RPMS/noarch/python2-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] SRPMS/python-acme-1.6.0-lp151.1.2.CS.src.rpm
for Leap 15.2 it should be 'lp152' Why is it not correctly set ? How to fix ?
osc meta prj home:computersalat:certbot [...] <repository name="openSUSE_Leap_15.2"> <path project="openSUSE:Leap:15.1:Update" repository="standard"/> <arch>x86_64</arch> </repository> -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Aug 15 2020, Christian wrote:
builds for Leap 15.2: https://build.opensuse.org/package/live_build_log/home:computersalat:certbot... [ 81s] build: extracting built packages... [ 81s] RPMS/noarch/python3-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] RPMS/noarch/python2-acme-1.6.0-lp151.1.2.CS.noarch.rpm [ 81s] SRPMS/python-acme-1.6.0-lp151.1.2.CS.src.rpm
for Leap 15.2 it should be 'lp152' Why is it not correctly set ?
You are building against 15.1, not 15.2.
How to fix ?
Fix the repository path to point to openSUSE:Leap:15.2:Update. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Christian
-
Christophe Giboudeaux