From 8df2858285a3ff54fcdf8ce4f659535c2f97bc30 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 4 Apr 2013 15:34:47 +0200 Subject: [PATCH] Remove %pyver Easier to use a glob than to extract the exact python version. --- brltty.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/brltty.spec b/brltty.spec index 9e8c724..ebc24bf 100644 --- a/brltty.spec +++ b/brltty.spec @@ -1,8 +1,6 @@ %define pkg_version 4.5 %define api_version 0.6.0 -%{!?pyver: %define pyver %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%d.%d'%v")} - %{!?tcl_version: %define tcl_version %(echo 'puts $tcl_version' | tclsh)} %{!?tcl_sitearch: %define tcl_sitearch %{_prefix}/%{_lib}/tcl%{tcl_version}} @@ -284,7 +282,7 @@ exit 0 %files -n python-brlapi %{python_sitearch}/brlapi.so -%{python_sitearch}/Brlapi-%{api_version}-py%{pyver}.egg-info +%{python_sitearch}/Brlapi-%{api_version}-*.egg-info %files -n brlapi-java %{_libdir}/brltty/libbrlapi_java.so