From a181557b7ba3f15176b8c080e4bf123b59bbea0b Mon Sep 17 00:00:00 2001 From: Mads Kiilerich Date: Apr 08 2024 21:15:17 +0000 Subject: Disable rust packaging - cpython create doesn't work with Python 3.12 --- diff --git a/mercurial.spec b/mercurial.spec index ccc25d6..f79a582 100644 --- a/mercurial.spec +++ b/mercurial.spec @@ -1,7 +1,7 @@ # build Rust binary and extensions for non-Enterprise Linux systems %if ! 0%{?rhel} %ifarch %{rust_arches} -%bcond_without rust +%bcond_with rust %else %bcond_with rust %endif @@ -10,7 +10,7 @@ Summary: A fast, lightweight Source Control Management system Name: mercurial Version: 6.7.2 -Release: 2%{?dist} +Release: 3%{?dist} # Release: 1.rc1%%{?dist} @@ -40,6 +40,8 @@ Provides: hg = %{version}-%{release} Requires: python3 Requires: emacs-filesystem Recommends: python3-fb-re2 +Provides: mercurial-rust = %{version}-%{release} +Obsoletes: mercurial-rust < %{version}-%{release} %description Mercurial is a fast, lightweight source control management system designed @@ -255,6 +257,10 @@ rm -rf %{buildroot}%{python3_sitearch}/mercurial/locale %changelog +* Mon Apr 08 2024 Mads Kiilerich - 6.7.2-3 +- Disable rust packaging - cpython create doesn't work with Python 3.12 + (#2249383) + * Mon Apr 08 2024 Mads Kiilerich - 6.7.2-2 - Drop python3-zombie-imp - it is no longer needed