From 2d3c4aedb8cd789f637a63b958a7debbe4b843fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sloup?= Date: Mon, 28 Aug 2023 15:17:01 +0200 Subject: [PATCH] Remove no longer needed workaround for reading the version from PKG-INFO file --- pyodbc.spec | 8 -------- 1 file changed, 8 deletions(-) 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