diff --git a/python-apsw.spec b/python-apsw.spec index ddf4f6b..0b028a2 100644 --- a/python-apsw.spec +++ b/python-apsw.spec @@ -28,6 +28,8 @@ %global pkg_version %{sqlite_version}.1-r%{uprel} %endif +%global real_version %(eval echo %{pkg_version} | %{__sed} 's/-/./') + %filter_provides_in %{python_sitearch}/.*\.so$ %if 0%{?with_python3} @@ -36,7 +38,7 @@ %filter_setup Name: python-apsw -Version: %{pkg_version} +Version: %{real_version} Release: 2%{?dist} Summary: Another Python SQLite Wrapper Group: Development/Libraries