diff --git a/.python-sqlalchemy.metadata b/.python-sqlalchemy.metadata index 1279d7c..85616ee 100644 --- a/.python-sqlalchemy.metadata +++ b/.python-sqlalchemy.metadata @@ -1 +1 @@ -e400a88b4f464f104d0c9c34e21267ad82461b00 SOURCES/SQLAlchemy-1.4.39.tar.gz +64e58a59171b517c23291d5561f9b4e3bef00d37 SOURCES/SQLAlchemy-1.4.40.tar.gz diff --git a/SPECS/python-sqlalchemy.spec b/SPECS/python-sqlalchemy.spec index 646c45a..a93d0e0 100644 --- a/SPECS/python-sqlalchemy.spec +++ b/SPECS/python-sqlalchemy.spec @@ -16,15 +16,15 @@ aiosqlite Name: python-sqlalchemy -Version: 1.4.39 +Version: 1.4.40 # cope with pre-release versions containing tildes %global srcversion %{lua: srcversion, num = rpm.expand("%{version}"):gsub("~", ""); print(srcversion);} -Release: 2%{?dist} -Summary: Modular and flexible ORM library for python +Release: 1%{?dist} +Summary: Modular and flexible ORM library for Python License: MIT -URL: http://www.sqlalchemy.org/ -Source0: https://files.pythonhosted.org/packages/source/S/%{srcname}/%{srcname}-%{srcversion}.tar.gz +URL: https://www.sqlalchemy.org/ +Source0: %{pypi_source %{srcname} %{srcversion}} BuildRequires: gcc BuildRequires: python3-devel >= 3.6 @@ -44,19 +44,8 @@ as you choose, determining relationships based on foreign keys or letting you define the join conditions explicitly, to bridge the gap between database and domain. -This package includes the python 2 version of the module. - -%package doc -Summary: Documentation for SQLAlchemy -BuildArch: noarch - -%description doc -Documentation for SQLAlchemy - %package -n python3-sqlalchemy -Summary: Modular and flexible ORM library for python -%{?python_provide:%python_provide python%{python3_pkgversion}-sqlalchemy} -Obsoletes: python2-sqlalchemy < 1.3.10-2 +Summary: %{summary} %description -n python3-sqlalchemy SQLAlchemy is an Object Relational Mapper (ORM) that provides a flexible, @@ -67,11 +56,16 @@ as you choose, determining relationships based on foreign keys or letting you define the join conditions explicitly, to bridge the gap between database and domain. -This package includes the python 3 version of the module. - # Subpackages to ensure dependencies enabling extra functionality %{?python_extras_subpkg:%python_extras_subpkg -n python3-sqlalchemy -i %{python3_sitearch}/*.egg-info %python_pkg_extras} +%package doc +Summary: Documentation for SQLAlchemy +BuildArch: noarch + +%description doc +Documentation for SQLAlchemy. + %prep %setup -q -n %{srcname}-%{srcversion} @@ -86,7 +80,7 @@ This package includes the python 3 version of the module. rm -rf doc/build %check -PYTHONPATH=. %{__python3} -m pytest test \ +%pytest test \ %if %{with xdist} --numprocesses=auto %endif @@ -98,9 +92,16 @@ PYTHONPATH=. %{__python3} -m pytest test \ %files -n python3-sqlalchemy %license LICENSE %doc README.rst -%{python3_sitearch}/* +%{python3_sitearch}/SQLAlchemy-*.egg-info/ +%{python3_sitearch}/sqlalchemy/ %changelog +* Tue Aug 09 2022 Nils Philippsen - 1.4.40-1 +- Version 1.4.40 + +* Mon Jul 25 2022 Miro HronĨok +- Remove obsolete cruft from the specfile, follow the packaging guidelines + * Fri Jul 22 2022 Fedora Release Engineering - 1.4.39-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild