From ad4f9b312e42847a264f6882a000e0e0fb5694e9 Mon Sep 17 00:00:00 2001 From: jinjin Date: Fri, 10 Jan 2020 23:40:05 -0500 Subject: [PATCH] fix failed --- python-gflags.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-gflags.spec b/python-gflags.spec index a708da7..e13f0a5 100644 --- a/python-gflags.spec +++ b/python-gflags.spec @@ -36,8 +36,8 @@ mimic the command-line flag handling of a C++ app that uses google-gflags for a Python app. %prep -%setup -qc -mv %{name}-%{version} python2 +%setup -q -c +mv python-gflags-python-gflags-2.0 python2 sed -i '1s|^#!/usr/bin/env python$|#!%{__python2}|' python2/gflags2man.py sed -i '/^#!\/usr\/bin\/env python$/,+1 d' python2/gflags*.py cp -a python2 python3