diff --git a/httpie-adjust-requirements.patch b/httpie-adjust-requirements.patch new file mode 100644 index 0000000..b68c166 --- /dev/null +++ b/httpie-adjust-requirements.patch @@ -0,0 +1,15 @@ +diff --git a/setup.py b/setup.py +index 3cb04c8..50075b3 100644 +--- a/setup.py ++++ b/setup.py +@@ -35,8 +35,8 @@ tests_require = [ + + + install_requires = [ +- 'requests>=2.21.0', +- 'Pygments>=2.3.1' ++ 'requests>=2.20.0', ++ 'Pygments>=2.2.0' + ] + + diff --git a/httpie.changes b/httpie.changes index 99621f8..215fe99 100644 --- a/httpie.changes +++ b/httpie.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Dec 22 16:32:41 UTC 2019 - Martin Hauke + +- Add patch: + * httpie-adjust-requirements.patch + Lower requirements for requests and Pygemnts to make it work + on Leap 15.1 + ------------------------------------------------------------------- Tue Aug 27 14:23:44 UTC 2019 - Martin Hauke diff --git a/httpie.spec b/httpie.spec index 5bef6ef..d99e3e8 100644 --- a/httpie.spec +++ b/httpie.spec @@ -27,6 +27,7 @@ Group: Productivity/Networking/Web/Utilities URL: https://httpie.org/ Source: https://github.com/jakubroztocil/httpie/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: http.1 +Patch0: httpie-adjust-requirements.patch BuildRequires: %{python_module Pygments >= 2.1.3} BuildRequires: %{python_module devel} BuildRequires: %{python_module mock} @@ -53,6 +54,7 @@ responses. %prep %setup -q +%patch0 -p1 #drop shebang sed -i -e '/^#!\//, 1d' httpie/__main__.py