## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 8; 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 pypi_name pyliblzfse Name: python-%{pypi_name} Version: 0.4.1 Release: %autorelease Summary: Python bindings for the LZFSE reference implementation License: MIT URL: https://github.com/ydkhatri/pyliblzfse Source: %{pypi_source} # Use system library for lzfse Patch: use-system-lzfse.patch BuildRequires: python3-devel BuildRequires: lzfse-devel BuildRequires: gcc # LZFSE isn't supported on big-endian architectures # https://github.com/lzfse/lzfse/issues/23 ExcludeArch: s390x %global _description %{expand: pyliblzfse is a Python (https://www.python.org/) module that provides LZFSE and LZVN compression and decompression through the reference implementation provided by Apple (https://github.com/lzfse/lzfse).} %description %_description %package -n python3-%{pypi_name} Summary: %{summary} %description -n python3-%{pypi_name} %_description %prep %autosetup -p1 -n pyliblzfse-%{version} # remove bundled library rm -r lzfse LICENSE.lzfse %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files liblzfse %check %pyproject_check_import %files -n python3-pyliblzfse -f %{pyproject_files} %license COPYING %doc AUTHORS README %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.4.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.4.1-7 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.4.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.4.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.4.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.4.1-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Sep 19 2022 Davide Cavalca - 0.4.1-1 - Initial import; Fixes: RHBZ#2124318 ## END: Generated by rpmautospec