X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python3-yarl.spec;h=dec159703c6e8104147c1ab3b9321b56216b4842;hb=HEAD;hp=2891b2871dc4e9f6f567468837050994f613f7bd;hpb=69ecdffec5b35dce4176585943beb4a66f09a96a;p=packages%2Fpython3-yarl.git diff --git a/python3-yarl.spec b/python3-yarl.spec index 2891b28..99dea35 100644 --- a/python3-yarl.spec +++ b/python3-yarl.spec @@ -6,32 +6,33 @@ Summary: Yet another URL library Summary(pl.UTF-8): Yet another URL library - jeszcze jedna biblioteka do URL-i Name: python3-yarl -Version: 1.7.2 +Version: 1.8.2 Release: 1 License: Apache v2.0 Group: Libraries/Python #Source0Download: https://pypi.org/simple/yarl/ Source0: https://files.pythonhosted.org/packages/source/y/yarl/yarl-%{version}.tar.gz -# Source0-md5: acd3eb25a9c46b10a699a3bee5fb9777 +# Source0-md5: 57c82725b9f4895eecee45faf5e61a54 URL: https://pypi.org/project/yarl/ -BuildRequires: python3-devel >= 1:3.6 +BuildRequires: python3-devel >= 1:3.7 BuildRequires: python3-setuptools %if %{with tests} BuildRequires: python3-idna >= 2.0 BuildRequires: python3-multidict >= 4.0 BuildRequires: python3-pytest >= 3.8.2 BuildRequires: python3-pytest-cov -%if "%{py3_ver}" < "3.8" +%if "%{py3_ver}" == "3.7" BuildRequires: python3-typing_extensions >= 3.7.4 %endif %endif +BuildRequires: rpm-build >= 4.6 BuildRequires: rpm-pythonprov BuildRequires: rpmbuild(macros) >= 1.752 %if %{with doc} BuildRequires: python3-alabaster BuildRequires: sphinx-pdg-3 %endif -Requires: python3-modules >= 1:3.6 +Requires: python3-modules >= 1:3.7 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -78,7 +79,7 @@ rm -rf $RPM_BUILD_ROOT %py3_install -%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/yarl/_quoting_c.{c,pyx} +%{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/yarl/_quoting_c.pyx %clean rm -rf $RPM_BUILD_ROOT