From f26893bd15ccb5eb69734958e0ab5bd41352820e Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Fri, 20 Jul 2018 15:28:36 -0700 Subject: [PATCH] Fix FTBFS bug #1605725 --- python-httplib2.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/python-httplib2.spec b/python-httplib2.spec index 263576f..ec4bb44 100644 --- a/python-httplib2.spec +++ b/python-httplib2.spec @@ -8,7 +8,7 @@ Name: python-httplib2 Version: 0.11.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A comprehensive HTTP client library Group: System Environment/Libraries License: MIT @@ -72,7 +72,7 @@ find %{py3dir} -name '*.py' | xargs sed -i '1s|^#!/usr/bin/python|#!%{__python3} %endif # with_python3 %build -CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build +CFLAGS="$RPM_OPT_FLAGS" %{__python2} setup.py build %if 0%{?with_python3} pushd %{py3dir} @@ -82,7 +82,7 @@ popd %install rm -rf $RPM_BUILD_ROOT -%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT +%{__python2} setup.py install --skip-build --root $RPM_BUILD_ROOT %if 0%{?with_python3} pushd %{py3dir} @@ -99,6 +99,9 @@ popd %endif # with_python3 %changelog +* Fri Jul 20 2018 Kevin Fenzi - 0.11.3-4 +- Fix FTBFS bug #1605725 + * Sat Jul 14 2018 Fedora Release Engineering - 0.11.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild