fix failed

This commit is contained in:
jinjin 2020-01-10 23:40:05 -05:00
parent df81afb464
commit ad4f9b312e

View File

@ -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