[python-keyring/f19: 4/10] Use sed instead of patch to make life easier.
Christopher Meng
cicku at fedoraproject.org
Tue Dec 3 05:43:19 UTC 2013
commit 48c57f10670d6aa31dc79568df99e14891618d83
Author: Christopher Meng <rpm at cicku.me>
Date: Tue Dec 3 13:37:45 2013 +0800
Use sed instead of patch to make life easier.
python-keyring.spec | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/python-keyring.spec b/python-keyring.spec
index f794b2e..fe4fdb6 100644
--- a/python-keyring.spec
+++ b/python-keyring.spec
@@ -8,7 +8,6 @@ Release: 1%{?dist}
Summary: Python 2.x library to store and access passwords safely
URL: http://bitbucket.org/kang/python-keyring-lib/
Source0: http://pypi.python.org/packages/source/k/keyring/keyring-%{version}.zip
-Patch0: keyring-3.1-fix-cli.patch
License: Python
BuildArch: noarch
BuildRequires: python2-devel
@@ -67,7 +66,7 @@ Python keyring lib also provides following build-in keyrings.
%prep
%setup -qn keyring-%{version}
rm -rf keyring.egg-info
-%patch0 -p1
+sed -i '1{\@^#!/usr/bin/env python at d}' keyring/cli.py
%if 0%{?with_python3}
rm -rf %{py3dir}
cp -a . %{py3dir}
More information about the scm-commits
mailing list