rpms/hamlib/devel hamlib.spec,1.22,1.23
Denis Leroy (denis)
fedora-extras-commits at redhat.com
Tue Sep 4 10:48:24 UTC 2007
Author: denis
Update of /cvs/pkgs/rpms/hamlib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13871
Modified Files:
hamlib.spec
Log Message:
Reworked the python deps
Index: hamlib.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hamlib/devel/hamlib.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- hamlib.spec 4 Sep 2007 10:20:21 -0000 1.22
+++ hamlib.spec 4 Sep 2007 10:47:46 -0000 1.23
@@ -1,4 +1,6 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{expand: %%define pyver %(python -c 'import sys;print(sys.version[0:3])')}
+
Name: hamlib
Version: 1.2.5
@@ -17,7 +19,7 @@
BuildRequires: automake >= 1.4, libtool >= 1.4, fileutils, findutils, flex
BuildRequires: binutils >= 2.9.4, gcc >= 2.95, glibc-devel >= 2.1
BuildRequires: gzip, make >= 3.77, patch >= 2.5, rpm >= 3.0, sed
-BuildRequires: textutils, python-devel, swig, gd-devel, libxml2-devel, tcl-devel
+BuildRequires: textutils, python, python-devel, swig, gd-devel, libxml2-devel, tcl-devel
BuildRequires: libusb-devel, pkgconfig, net-tools
BuildRequires: doxygen
@@ -67,7 +69,7 @@
%package python
Summary: Hamlib radio control library Python binding
Group: Development/Libraries
-Requires: python-abi = %(%{__python} -c 'import sys;print(sys.version[:3])')
+Requires: python-abi = %{pyver}
%description python
Hamlib Python Language bindings to allow radio control from Python scripts.
More information about the fedora-extras-commits
mailing list