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..0907d67 100644 --- a/urjtag.spec +++ b/urjtag.spec @@ -6,22 +6,19 @@ Name: urjtag Version: 2021.03 -Release: 23%{?dist} +Release: 3%{?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 %global py3_prefix python3 -BuildRequires: make +BuildRequires: make BuildRequires: gcc BuildRequires: libftdi-devel -BuildRequires: (python3-setuptools if python3-devel >= 3.12) -BuildRequires: readline-devel BuildRequires: swig %if 0%{?rhel} || 0%{?centos} BuildRequires: %{py3_prefix}4-devel @@ -58,7 +55,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,66 +101,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 - -* Sun Jul 30 2023 Filipe Rosset - 2021.03-10 -- Fix FTBFS rhbz#2226495 rhbz#2220616 rhbz#2175186 and rhbz#1785878 - -* Sat Jul 22 2023 Fedora Release Engineering - 2021.03-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Tue Jun 13 2023 Python Maint - 2021.03-8 -- Rebuilt for Python 3.12 - -* Sat Jan 21 2023 Fedora Release Engineering - 2021.03-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 2021.03-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Thu Jun 16 2022 Python Maint - 2021.03-5 -- Rebuilt for Python 3.11 - -* Sat Jan 22 2022 Fedora Release Engineering - 2021.03-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - * Fri Jul 23 2021 Fedora Release Engineering - 2021.03-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild