diff --git a/python-gnupg.spec b/python-gnupg.spec index 71dcdbb..8910c90 100644 --- a/python-gnupg.spec +++ b/python-gnupg.spec @@ -7,7 +7,7 @@ License: BSD URL: http://pythonhosted.org/python-gnupg/ Source0: http://python-gnupg.googlecode.com/files/%{name}-%{version}.tar.gz BuildArch: noarch -BuildRequires: python2-devel +BuildRequires: python-devel Requires: gnupg # Patch required for raw (non-ascii) key exports - required for hash-slinger's use # submitted to upstream: http://code.google.com/p/python-gnupg/issues/detail?id=94 @@ -21,12 +21,12 @@ GnuPG bindings for python. This uses the gpg command. %patch1 -p1 %build -%{__python2} setup.py build +%{__python} setup.py build mv README README.org tr -d '\r' < README.org > README %install -%{__python2} setup.py install -O1 --skip-build --root %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} %files %doc PKG-INFO LICENSE README