From 97fa3d908b0dbdd3bb321259e69c76797c0a18a5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Feb 05 2020 14:17:21 +0000 Subject: hard-code dependency on python3-lockfile The dependency on python3dist(lockfile) is only optional in CacheControl, so it's only specified as a weak dependency there. But poetry uses this optional functionality, and hence hard-requires lockfile. --- diff --git a/poetry.spec b/poetry.spec index aa44b31..9417a59 100644 --- a/poetry.spec +++ b/poetry.spec @@ -9,7 +9,7 @@ projects, ensuring you have the right stack everywhere.} Name: %{pypi_name} Summary: Python dependency management and packaging made easy Version: 1.0.3 -Release: 1%{?dist} +Release: 2%{?dist} License: MIT URL: https://poetry.eustace.io/ @@ -34,6 +34,9 @@ Requires: python3-%{pypi_name} = %{version}-%{release} %package -n python3-%{pypi_name} Summary: %{summary} +# this is an optional dependency of CacheControl, but it's required by poetry +Requires: python3dist(lockfile) + %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} %{common_description} @@ -66,6 +69,9 @@ Summary: %{summary} %changelog +* Wed Feb 05 2020 Fabio Valentini - 1.0.3-2 +- Hard-code dependency on python3-lockfile. + * Sun Feb 02 2020 Fabio Valentini - 1.0.3-1 - Update to version 1.0.3.