diff --git a/pyodbc.spec b/pyodbc.spec index f81053a..b8d3ca3 100644 --- a/pyodbc.spec +++ b/pyodbc.spec @@ -35,14 +35,6 @@ decimal. %prep %autosetup -n %{name}-%{uversion} -p1 -# the setup.py script tries to determine the version of the package by -# - git describe (which does not work in github tarball) -# - parsing PKG-INFO (which is onyl included in sdist) -# Let's help it: -echo 'Version: %{uversion}' > PKG-INFO -# (If the logic and/or parser in setup.py is changed, this might not work, -# but the exact .egg-info filename in %%files works as a regression test.) - %generate_buildrequires %pyproject_buildrequires