## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname lmdb Name: python-%{srcname} Version: 1.4.1 Release: %autorelease Summary: Python binding for the LMDB 'Lightning' Database (CPython & CFFI included) # Automatically converted from old format: OpenLDAP - review is highly recommended. License: LicenseRef-Callaway-OpenLDAP URL: https://github.com/dw/py-lmdb Source0: %{pypi_source lmdb} Patch: https://github.com/jnwatson/py-lmdb/pull/368.patch BuildRequires: gcc BuildRequires: python3-devel BuildRequires: lmdb-devel BuildRequires: python3-pytest %description %{summary}. %package -n python3-%{srcname} Summary: %{summary} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{summary}. %prep %autosetup -p1 -n lmdb-%{version} %generate_buildrequires export LMDB_FORCE_SYSTEM=1 unset LMDB_FORCE_CFFI %pyproject_buildrequires %build # do not use bundled LMDB library export LMDB_FORCE_SYSTEM=1 unset LMDB_FORCE_CFFI %pyproject_wheel %install export LMDB_FORCE_SYSTEM=1 unset LMDB_FORCE_CFFI %pyproject_install %pyproject_save_files lmdb %check export LMDB_FORCE_SYSTEM=1 unset LMDB_FORCE_CFFI %pytest %files -n python3-%{srcname} -f %{pyproject_files} %license LICENSE %doc ChangeLog %changelog ## START: Generated by rpmautospec * Wed Sep 11 2024 Zbigniew Jędrzejewski-Szmek - 1.4.1-2 - Include hacky patch to fix build with python 3.13 (rhbz#2259530) * Wed Sep 11 2024 Zbigniew Jędrzejewski-Szmek - 1.4.1-1 - Update to 1.4.1 * Wed Sep 04 2024 Miroslav Suchý - 1.4.0-8 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.4.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.4.0-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.4.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.4.0-2 - Rebuilt for Python 3.12 * Fri Feb 03 2023 Jonathan Wright - 1.4.0-1 - Update to 1.4.0 - modernize spec * Fri Jan 20 2023 Fedora Release Engineering - 1.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.0.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.0.0-5 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.0.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.0.0-2 - Rebuilt for Python 3.10 * Wed May 12 2021 Petr Viktorin - 1.0.0-1 - Update to version 1.0.0 * Wed Jan 27 2021 Fedora Release Engineering - 0.92-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.92-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.92-13 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.92-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.92-11 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.92-10 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.92-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.92-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 0.92-7 - Subpackage python2-lmdb has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.92-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.92-5 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.92-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.92-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.92-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Tue Jun 13 2017 Petr Špaček - 0.92-1 Initial build using CPython extension and system LMDB library by default. The code was imported from PyPI package v0.92 MD5 00520384f53f0c9f6347e681d4bb8140 + test from Git repo 4651bb3a865c77008ac261443899fe25f88173f2. Known problems: - crash on put if Environment(writemap=True) and data is too big for FS https://github.com/dw/py-lmdb/issues/161 - crash on Environment(readonly=True).db_open(create=True) https://github.com/dw/py-lmdb/issues/160 ## END: Generated by rpmautospec