diff --git a/urh.spec b/urh.spec index 9ae2237..4f4e967 100644 --- a/urh.spec +++ b/urh.spec @@ -1,16 +1,12 @@ -%{?python_enable_dependency_generator} -# python 2 not supported - Name: urh Version: 2.10.0 -Release: 1%{?dist} +Release: 7%{?dist} Summary: Universal Radio Hacker: investigate wireless protocols like a boss # Automatically converted from old format: ASL 2.0 and GPLv2 - review is highly recommended. License: Apache-2.0 AND GPL-2.0-only URL: https://github.com/jopohl/urh Source0: https://github.com/jopohl/urh/archive/v%{version}/%{name}-%{version}.tar.gz Source1: io.github.jopohl.urh.metainfo.xml -BuildRequires: python3-setuptools BuildRequires: python3-devel BuildRequires: gcc-c++ BuildRequires: python3-numpy @@ -19,13 +15,12 @@ BuildRequires: airspyone_host-devel BuildRequires: hackrf-devel BuildRequires: rtl-sdr-devel BuildRequires: uhd-devel -BuildRequires: python3-qt5 -BuildRequires: python3-pytest +BuildRequires: python3-pyqt6 BuildRequires: xorg-x11-server-Xvfb # Unpinning Cython raised upstream: https://github.com/jopohl/urh/issues/1087 BuildRequires: python3-cython Requires: python3-numpy -Requires: python3-qt5 +Requires: python3-pyqt6 %description The Universal Radio Hacker is a software for investigating unknown wireless @@ -52,11 +47,15 @@ popd sed -i 's/"cython<3.0.0"/"cython"/' setup.py +%generate_buildrequires +%pyproject_buildrequires + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install +%pyproject_save_files urh # remove cpp files generated by cython pushd %{buildroot}%{python3_sitearch}/urh/dev/native/lib @@ -84,7 +83,7 @@ install -Dpm 0644 %{SOURCE1} \ # https://github.com/jopohl/urh/issues/1149 #xvfb-run pytest -s -v tests -%files +%files -f %{pyproject_files} %license LICENSE %doc README.md %{_bindir}/urh @@ -92,10 +91,27 @@ install -Dpm 0644 %{SOURCE1} \ %{_datadir}/icons/hicolor/128x128/apps/urh.png %{_datadir}/applications/urh.desktop %{_metainfodir}/io.github.jopohl.urh.metainfo.xml -%{python3_sitearch}/urh -%{python3_sitearch}/urh-%{version}-*.egg-info %changelog +* Wed Jul 22 2026 Python Maint - 2.10.0-7 +- Rebuilt for Python 3.15.0b4 ABI change + +* Fri Jul 17 2026 Fedora Release Engineering - 2.10.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild + +* Thu Jun 04 2026 Python Maint - 2.10.0-5 +- Rebuilt for Python 3.15 + +* Tue Apr 28 2026 Jaroslav Škarvada - 2.10.0-4 +- Rebuilt for new uhd + +* Sat Jan 17 2026 Fedora Release Engineering - 2.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Thu Jan 15 2026 Jaroslav Škarvada - 2.10.0-2 +- Converted to new python packaging + Resolves: rhbz#2378489 + * Sat Jan 03 2026 Jaroslav Škarvada - 2.10.0-1 - New version Resolves: rhbz#2423176