diff --git a/SPECS/python-cairocffi.spec b/SPECS/python-cairocffi.spec index 129534c..33d9798 100644 --- a/SPECS/python-cairocffi.spec +++ b/SPECS/python-cairocffi.spec @@ -1,8 +1,8 @@ ## START: Set by rpmautospec -## (rpmautospec version 0.6.5) +## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: - release_number = 3; + release_number = 8; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} @@ -22,9 +22,11 @@ BuildArch: noarch BuildRequires: python3-devel # required to run the test suite +BuildRequires: cairo BuildRequires: gdk-pixbuf2 BuildRequires: gdk-pixbuf2-modules -BuildRequires: xorg-x11-server-Xvfb +BuildRequires: xwayland-run +BuildRequires: weston %global _description\ cairocffi is a CFFI-based drop-in replacement for Pycairo, a set of\ @@ -48,10 +50,10 @@ Requires: gtk3 %prep %autosetup -n cairocffi-%{version} -p1 -sed -i -e "s/, 'flake8'//" -e "s/, 'isort'//" pyproject.toml +sed -i -e "s/, 'ruff'//" pyproject.toml %generate_buildrequires -%pyproject_buildrequires -x test +%pyproject_buildrequires -x test,xcb %build %pyproject_wheel @@ -62,7 +64,7 @@ sed -i -e "s/, 'flake8'//" -e "s/, 'isort'//" pyproject.toml %check # test_xcb.py needs a display -%global __pytest xvfb-run /usr/bin/pytest +%global __pytest xwfb-run -c weston -- /usr/bin/pytest %pytest -v --pyargs cairocffi @@ -70,10 +72,25 @@ sed -i -e "s/, 'flake8'//" -e "s/, 'isort'//" pyproject.toml %doc README.rst %changelog -* Thu Dec 26 2024 Dmitriy Samoylik - 1.7.0-3 -- Rebuilt for MSVSphere 10 +* Sun Dec 29 2024 Dmitriy Samoylik - 1.7.0-8 +- Update to 1.7.0-8 ## START: Generated by rpmautospec +* Sun Dec 01 2024 Kaleb S. KEITHLEY - 1.7.0-8 +- epel10 + +* Wed Nov 13 2024 Miro Hrončok - 1.7.0-7 +- Remove a linter-only test dependency (ruff) + +* Wed Nov 13 2024 Miro Hrončok - 1.7.0-6 +- BuildRequire the [xcb] extra dependencies + +* Wed Nov 13 2024 Miro Hrončok - 1.7.0-5 +- Use xwayland-run instead of xorg-x11-server-Xvfb to run the tests + +* Thu Oct 24 2024 Sandro - 1.7.0-4 +- Add missing test dependency + * Fri Jul 19 2024 Fedora Release Engineering - 1.7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild