## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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 Name: python-crc32c Version: 2.8 Release: %autorelease Summary: A python package implementing the crc32c algorithm in hardware and software License: LGPL-2.1-or-later URL: https://github.com/ICRAR/crc32c Source: %{url}/archive/refs/tags/v%{version}/crc32c-%{version}.tar.gz BuildRequires: python3-devel BuildRequires: gcc BuildRequires: help2man %global _description %{expand: This package implements the crc32c checksum algorithm. It automatically chooses between a hardware-based implementation (using theCRC32C SSE 4.2 instruction of Intel CPUs, and the crc32* instructions on ARMv8 CPUs), or a software-based one when no hardware support can be found.} %description %{_description} %package -n python3-crc32c Summary: %{summary} %description -n python3-crc32c %{_description} %prep %autosetup -n crc32c-%{version} %generate_buildrequires %pyproject_buildrequires -g test %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l crc32c mkdir -p %{buildroot}%{_mandir}/man1 PYTHONPATH="%{buildroot}%{python3_sitearch}" help2man \ --version-string %{version} \ %{buildroot}%{_bindir}/crc32c | \ sed 's|\\fI\\,.*\/crc32c\\/\\fP|\\fI\\,crc32c\\/\\fP|g' | \ gzip > %{buildroot}%{_mandir}/man1/crc32c.1.gz %check %pyproject_check_import %pytest PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} run-tests.py %files -n python3-crc32c -f %{pyproject_files} %doc CHANGELOG.md %license LICENSE %license LICENSE.google-crc32c %license LICENSE.slice-by-8 %doc README.rst %attr(755,root,root) %{_bindir}/crc32c %{_mandir}/man1/crc32c.1.gz %changelog ## START: Generated by rpmautospec * Fri Oct 17 2025 Doğukan Çağatay - 2.8-2 - Fix incorrect dynamic build path for crc32c in the man page * Fri Oct 17 2025 Doğukan Çağatay - 2.8-1 - Update python-crc32c package to version 2.8 - Bump version from 2.7.1 to 2.8 - Remove bcond tests conditional compilation flag - Remove build requirement wheel and pytest which is already provided dynamically - Simplify buildrequires generation with -g test flag - Add manual page generation using help2man - Remove conditional test execution (always run tests now) - Update file list in the %%files section - Clean up spec file formatting and remove unnecessary blank lines * Fri Sep 19 2025 Python Maint - 2.7.1-8 - Rebuilt for Python 3.14.0rc3 bytecode * Sat Sep 06 2025 Doğukan Çağatay - 2.7.1-7 - Refactor to use pyproject macros * Fri Aug 15 2025 Python Maint - 2.7.1-6 - Rebuilt for Python 3.14.0rc2 bytecode * Fri Jul 25 2025 Fedora Release Engineering - 2.7.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Mon Jun 02 2025 Python Maint - 2.7.1-4 - Rebuilt for Python 3.14 * Mon Jan 20 2025 Fedora Release Engineering - 2.7.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Tue Oct 15 2024 Doğukan Çağatay - 2.7.1-2 - Update sources file for 2.7.1 * Tue Oct 15 2024 Doğukan Çağatay - 2.7.1-1 - Bump version 2.7.1 * Thu Aug 29 2024 Doğukan Çağatay - 2.7.post1-3 - Fix source checksum file for 2.7.post1 * Thu Aug 29 2024 Doğukan Çağatay - 2.7.post1-1 - Bump version 2.7.post1 * Fri Jul 05 2024 Doğukan Çağatay - 2.4.1-1 - Update version 2.4.1 * Fri Jun 07 2024 Python Maint - 2.4-6 - Rebuilt for Python 3.13 * Thu Jun 06 2024 Doğukan Çağatay - 2.4-5 - Remove -mstackrealign compiler flag completely from any architecture * Sat Jun 01 2024 Doğukan Çağatay - 2.4-4 - Disable -mstackrealign compiler flag except ix86 and x86_64 * Sat Jun 01 2024 Doğukan Çağatay - 2.4-3 - Enable -mstackrealign compiler flag for all architectures * Sat Jun 01 2024 Doğukan Çağatay - 2.4-2 - Add -mstackrealign compiler flag for ix86 builds * Fri Apr 19 2024 Doğukan Çağatay - 2.4-1 - Initial import (fedora#2265949). ## END: Generated by rpmautospec