Compare commits

..

No commits in common. "rawhide" and "f42" have entirely different histories.

3 changed files with 41 additions and 61 deletions

View file

@ -1 +1 @@
SHA512 (urh-2.10.0.tar.gz) = 0e46c7f74b1108ed32128cb1b3034b62ec03595057e5822c7e27e9340d2b81cc6240376bef3d3ba5b03e47396ccdfd737cb911788a1f36be2be30928e101fc57
SHA512 (urh-2.9.8.tar.gz) = a5327bee699bba8e6ffef2e7ec54f5f4b354feda18340c9b567b10b8c9283c5c907a546fd8a5660a2c325d42b8928cb9592630d0c2a5ed7dfdcf5dc434be4cb2

View file

@ -0,0 +1,22 @@
diff --git a/setup.py b/setup.py
index e6f122d..ea30195 100644
--- a/setup.py
+++ b/setup.py
@@ -142,7 +142,7 @@ def read_long_description():
return ""
-install_requires = ["numpy<2.0.0", "psutil", "cython", "setuptools"]
+install_requires = ["numpy", "psutil", "cython", "setuptools"]
if IS_RELEASE:
install_requires.append("pyqt5")
else:
@@ -168,7 +168,7 @@ setup(
license="GNU General Public License (GPL)",
download_url="https://github.com/jopohl/urh/tarball/v" + str(version.VERSION),
install_requires=install_requires,
- setup_requires=["numpy<2.0.0"],
+ setup_requires=["numpy"],
packages=get_packages(),
ext_modules=get_extensions(),
cmdclass={"build_ext": build_ext},

View file

@ -1,12 +1,16 @@
%{?python_enable_dependency_generator}
# python 2 not supported
Name: urh
Version: 2.10.0
Release: 8%{?dist}
Version: 2.9.8
Release: 3%{?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
@ -15,12 +19,17 @@ BuildRequires: airspyone_host-devel
BuildRequires: hackrf-devel
BuildRequires: rtl-sdr-devel
BuildRequires: uhd-devel
BuildRequires: python3-pyqt6
BuildRequires: python3-qt5
BuildRequires: python3-pytest
BuildRequires: xorg-x11-server-Xvfb
# Unpinning Cython raised upstream: https://github.com/jopohl/urh/issues/1087
BuildRequires: python3-cython
Requires: python3-numpy
Requires: python3-pyqt6
Requires: python3-qt5
# Temporal workaround, it may cause problems with the GUI may crash, it should
# be ported to numpy-2, upstream report:
# https://github.com/jopohl/urh/issues/1149
Patch0: urh-2.9.8-relax-numpy-dep.patch
%description
The Universal Radio Hacker is a software for investigating unknown wireless
@ -47,15 +56,11 @@ popd
sed -i 's/"cython<3.0.0"/"cython"/' setup.py
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%py3_build
%install
%pyproject_install
%pyproject_save_files urh
%py3_install
# remove cpp files generated by cython
pushd %{buildroot}%{python3_sitearch}/urh/dev/native/lib
@ -83,7 +88,7 @@ install -Dpm 0644 %{SOURCE1} \
# https://github.com/jopohl/urh/issues/1149
#xvfb-run pytest -s -v tests
%files -f %{pyproject_files}
%files
%license LICENSE
%doc README.md
%{_bindir}/urh
@ -91,57 +96,10 @@ 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
* Tue Sep 08 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-8
- Rebuilt for new rtl-sdr
Resolves: rhbz#2529366
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 2.10.0-7
- Rebuilt for Python 3.15.0b4 ABI change
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 2.10.0-5
- Rebuilt for Python 3.15
* Tue Apr 28 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-4
- Rebuilt for new uhd
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.10.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jan 15 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-2
- Converted to new python packaging
Resolves: rhbz#2378489
* Sat Jan 03 2026 Jaroslav Škarvada <jskarvad@redhat.com> - 2.10.0-1
- New version
Resolves: rhbz#2423176
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.9.8-10
- Rebuilt for Python 3.14.0rc3 bytecode
* Thu Sep 11 2025 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-9
- Rebuilt for new uhd
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.9.8-8
- Rebuilt for Python 3.14.0rc2 bytecode
* Thu Jul 31 2025 Charalampos Stratakis <cstratak@redhat.com> - 2.9.8-7
- Fix build failures with Cython >= 3.1
Resolves: rhbz#2377057
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.9.8-5
- Rebuilt for Python 3.14
* Mon Mar 17 2025 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9.8-4
- Rebuilt for new uhd
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild