diff --git a/.gitignore b/.gitignore index 58ae54c..d3b83d0 100644 --- a/.gitignore +++ b/.gitignore @@ -262,3 +262,4 @@ /cockpit-291.tar.xz /cockpit-292.tar.xz /cockpit-293.tar.xz +/cockpit-294.tar.xz diff --git a/README.packit b/README.packit index 01582f6..07bc213 100644 --- a/README.packit +++ b/README.packit @@ -1,3 +1,3 @@ This repository is maintained by packit. https://packit.dev/ -The file was generated using packit 0.76.0. +The file was generated using packit 0.76.0.post10+g0dcb396. diff --git a/cockpit.spec b/cockpit.spec index bb542c2..dd42ec1 100644 --- a/cockpit.spec +++ b/cockpit.spec @@ -49,11 +49,15 @@ Summary: Web Console for Linux servers License: LGPL-2.1-or-later URL: https://cockpit-project.org/ -Version: 293 +Version: 294 Release: 1%{?dist} Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz -# Experimental Python support +# Use Python bridge on non-stable versions +%if 0%{?fedora} >= 39 +%define cockpit_enable_python 1 +%endif + %if !%{defined cockpit_enable_python} %define cockpit_enable_python 0 %endif @@ -290,8 +294,7 @@ rm -f %{buildroot}/%{_libdir}/security/pam_* rm -f %{buildroot}/usr/bin/cockpit-bridge rm -f %{buildroot}%{_libexecdir}/cockpit-ssh rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml -rm -rf %{buildroot}%{python3_sitelib}/cockpit/ -rm -rf %{buildroot}%{python3_sitelib}/cockpit-%{version}.dist-info/ +rm -rf %{buildroot}%{python3_sitelib}/cockpit* %endif # when not building optional packages, remove their files @@ -373,8 +376,7 @@ system on behalf of the web based user interface. %{_bindir}/cockpit-bridge %{_libexecdir}/cockpit-askpass %if %{cockpit_enable_python} -%{python3_sitelib}/%{name}/ -%{python3_sitelib}/%{name}-%{version}.dist-info/ +%{python3_sitelib}/%{name}* %endif %package doc @@ -781,6 +783,9 @@ via PackageKit. # The changelog is automatically generated and merged %changelog +* Wed Jun 14 2023 Packit - 294-1 +- Introduce Python bridge on Fedora Rawhide and Debian unstable + * Thu Jun 01 2023 Packit - 293-1 - Tests and code quality improvements diff --git a/sources b/sources index 438521a..131a858 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cockpit-293.tar.xz) = 2713753069ebd876a53084884e6bce076f674bf8463ac605afc1d41ae625220ef33b8b26ee9d73cbf636ee0db95f3e810bfceda8f11992c8b7dfa5b25d117811 +SHA512 (cockpit-294.tar.xz) = 748709fc1cf246600c55941036f4eddc1800ec9eb9a09fdd8a12d36f107f3138b5dae857984f224286c9663ed6098f851ba09da7442a6d200309675642a89eb2