## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-pygls Version: 1.2.1 Release: %autorelease Summary: A pythonic generic language server License: Apache-2.0 URL: https://github.com/openlawlibrary/pygls Source: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest BuildRequires: %{py3_dist pytest_asyncio} %global _description %{expand: pygls (pronounced like "pie glass") is a pythonic generic implementation of the Language Server Protocol for use as a foundation for writing your own Language Servers in just a few lines of code.} %description %_description %package -n python3-pygls Summary: %{summary} %description -n python3-pygls %_description %pyproject_extras_subpkg -n python3-pygls ws %prep %autosetup -p1 -n pygls-%{version} # relax version requirements of websockets sed -i 's/\^11\.0\.3/>=11.0.3/' pyproject.toml %generate_buildrequires %pyproject_buildrequires -x ws %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pygls %check %pytest %files -n python3-pygls -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Mon Jun 17 2024 Python Maint - 1.2.1-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 topazus - 1.2.1-3 - relax version constraint; rhbz#2259582 * Mon Jan 22 2024 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Dec 30 2023 topazus - 1.2.1-1 - initial import; rhbz#2256187 ## END: Generated by rpmautospec