From bb52e5c512a51c33439568ed56aecf2d737be970 Mon Sep 17 00:00:00 2001 From: Nils Philippsen Date: Thu, 6 Jul 2023 15:42:22 +0200 Subject: [PATCH] Version 1.4.49 Signed-off-by: Nils Philippsen --- .gitignore | 1 + python-sqlalchemy.spec | 12 +++++------- sources | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 56a6346..77ae5a9 100644 --- a/.gitignore +++ b/.gitignore @@ -113,3 +113,4 @@ SQLAlchemy-0.6.1.tar.gz /SQLAlchemy-1.4.46.tar.gz /SQLAlchemy-1.4.48.tar.gz /sqlalchemy-cd56e873e1db4e6c8bee9e035627beba80251bea.tar.gz +/SQLAlchemy-1.4.49.tar.gz diff --git a/python-sqlalchemy.spec b/python-sqlalchemy.spec index e536602..444e4c9 100644 --- a/python-sqlalchemy.spec +++ b/python-sqlalchemy.spec @@ -16,17 +16,15 @@ aiosqlite Name: python-sqlalchemy -# from the rel_1_4 branch, for Python 3.12 support: -%global commit cd56e873e1db4e6c8bee9e035627beba80251bea -%global scommit %(c=%{commit}; echo ${c:0:7}) -%global cdate 20230703 -Version: 1.4.49~~%{cdate}%{scommit} +Version: 1.4.49 +# cope with pre-release versions containing tildes +%global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);} Release: %autorelease Summary: Modular and flexible ORM library for Python License: MIT URL: https://www.sqlalchemy.org/ -Source0: https://github.com/sqlalchemy/sqlalchemy/archive/%{commit}/sqlalchemy-%{commit}.tar.gz +Source0: %{pypi_source %{srcname} %{srcversion}} BuildRequires: gcc BuildRequires: python3-devel >= 3.6 @@ -70,7 +68,7 @@ Documentation for SQLAlchemy. %prep -%autosetup -n sqlalchemy-%{commit} -p1 +%autosetup -n %{srcname}-%{srcversion} -p1 %build %py3_build diff --git a/sources b/sources index 90a84a3..b0a4381 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sqlalchemy-cd56e873e1db4e6c8bee9e035627beba80251bea.tar.gz) = 475af71bf56d2dd1c4bea4957f9f9ea5d9b93643e583d5fb4dc092b5cf386c616c5117276e18f600a9704b35e05fe32f6147deb5fbfe778ef8cad2316f86b9c5 +SHA512 (SQLAlchemy-1.4.49.tar.gz) = 268751b09aebd9da10fd57b4b987fa57f3c61d18d5104bb308e405aa034c74e7d5441abd94368857fbe11b8d15bb5315634f64f3b1252e7318d24107ba1fe3ff