## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 7; 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 patatt Name: python-%{srcname} Version: 0.6.3 Release: %autorelease Summary: Add cryptographic attestation to patches sent via email License: MIT-0 URL: https://git.kernel.org/pub/scm/utils/%{srcname}/%{srcname}.git Source0: https://mirrors.edge.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.xz Source1: https://mirrors.edge.kernel.org/pub/software/devel/%{srcname}/%{srcname}-%{version}.tar.sign # https://git.kernel.org/pub/scm/utils/patatt/patatt.git/plain/.keys/openpgp/linuxfoundation.org/konstantin/default Source2: gpgkey-DE0E66E32F1FDD0902666B96E63EDCA9329DD07E.asc BuildArch: noarch BuildRequires: gnupg2 BuildRequires: python%{python3_pkgversion}-devel %global _description %{expand: This utility allows an easy way to add end-to-end cryptographic attestation to patches sent via mail. It does so by adapting the DKIM email signature standard to include cryptographic signatures via the X-Developer-Signature email header.} %description %{_description} %package -n %{srcname} Summary: %{summary} Provides: python%{python3_pkgversion}-%{srcname} = %{version}-%{release} %description -n %{srcname} %{_description} %prep xz -dc '%{SOURCE0}' | %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data=- %autosetup -p1 -n %{srcname}-%{version} %generate_buildrequires %pyproject_buildrequires -r requirements.txt %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %files -n %{srcname} -f %{pyproject_files} %license COPYING %doc DCO README.rst samples %{_bindir}/%{srcname} %{_mandir}/man5/%{srcname}.5.* %changelog ## START: Generated by rpmautospec * Fri Jul 19 2024 Fedora Release Engineering - 0.6.3-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 08 2024 Python Maint - 0.6.3-6 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.6.3-2 - Rebuilt for Python 3.12 * Mon Feb 13 2023 Michel Alexandre Salim - 0.6.3-1 - Update to 0.6.3 * Fri Jan 20 2023 Fedora Release Engineering - 0.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Sep 23 2022 Todd Zullinger - 0.6.2-1 - update to 0.6.2 * Fri Sep 23 2022 Todd Zullinger - 0.4.9-5 - verify signature of source tarball * Fri Jul 22 2022 Fedora Release Engineering - 0.4.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.4.9-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.4.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Dec 15 2021 Michel Alexandre Salim - 0.4.9-1 - Initial Fedora package ## END: Generated by rpmautospec