diff --git a/urjtag-gcc10.patch b/urjtag-gcc10.patch new file mode 100644 index 0000000..c9046e6 --- /dev/null +++ b/urjtag-gcc10.patch @@ -0,0 +1,25 @@ +From c6a6b7730e61e00fbaa461e07cee456aff0a6d2b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Dan=20Hor=C3=A1k?= +Date: Thu, 13 Feb 2020 16:36:44 +0100 +Subject: [PATCH] fix UrjtagError declaration + +--- + urjtag/bindings/python/py_urjtag.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/urjtag/bindings/python/py_urjtag.h b/urjtag/bindings/python/py_urjtag.h +index 38582ebb..16b120d8 100644 +--- a/urjtag/bindings/python/py_urjtag.h ++++ b/urjtag/bindings/python/py_urjtag.h +@@ -35,7 +35,7 @@ struct urj_pyregister + extern PyTypeObject urj_pyregister_Type; + + extern PyObject *urj_py_chkret (int rc); +-PyObject *UrjtagError; ++extern PyObject *UrjtagError; + + extern int urj_pyc_precheck (urj_chain_t *urc, int checks_needed); + #define UPRC_CBL 1 +-- +2.21.1 + diff --git a/urjtag.spec b/urjtag.spec index c88c7ab..5b0892a 100644 --- a/urjtag.spec +++ b/urjtag.spec @@ -6,11 +6,10 @@ Name: urjtag Version: 2021.03 -Release: 23%{?dist} +Release: 11%{?dist} Summary: A tool for communicating over JTAG with flash chips and CPUs -# Automatically converted from old format: GPLv2+ - review is highly recommended. -License: GPL-2.0-or-later +License: GPLv2+ URL: http://urjtag.org Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.xz Patch0: %{name}-fixarm.patch @@ -58,7 +57,7 @@ Python bindings and examples for %{name}. %prep %setup -q -%patch -P0 -p2 -b .armfix +%patch0 -p2 -b .armfix %build %configure --enable-jedec-exp --enable-stapl --enable-bsdl --enable-svf --disable-static --enable-shared @@ -104,42 +103,6 @@ pushd bindings/python/ %doc bindings/python/t_srst.py %changelog -* Wed Jul 22 2026 Python Maint - 2021.03-23 -- Rebuilt for Python 3.15.0b4 ABI change - -* Fri Jul 17 2026 Fedora Release Engineering - 2021.03-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Thu Jun 04 2026 Python Maint - 2021.03-21 -- Rebuilt for Python 3.15 - -* Sat Jan 17 2026 Fedora Release Engineering - 2021.03-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Sep 19 2025 Python Maint - 2021.03-19 -- Rebuilt for Python 3.14.0rc3 bytecode - -* Fri Aug 15 2025 Python Maint - 2021.03-18 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Fri Jul 25 2025 Fedora Release Engineering - 2021.03-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Jun 03 2025 Python Maint - 2021.03-16 -- Rebuilt for Python 3.14 - -* Sun Jan 19 2025 Fedora Release Engineering - 2021.03-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Fri Jul 26 2024 Miroslav Suchý - 2021.03-14 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 2021.03-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sun Jun 09 2024 Python Maint - 2021.03-12 -- Rebuilt for Python 3.13 - * Sat Jan 27 2024 Fedora Release Engineering - 2021.03-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild