Remove %pyver

Easier to use a glob than to extract the exact python version.
This commit is contained in:
Kalev Lember 2013-04-04 15:34:47 +02:00
parent 452dc0b0ee
commit 8df2858285

View File

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