diff --git a/python-radexreader-1.2.4.tar.gz b/python-radexreader-1.2.4.tar.gz deleted file mode 100644 index 2b6cbdf..0000000 --- a/python-radexreader-1.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9a6db6fa1ba0cd2c94dab3554f091d69aef39e8e097784264d30bc5054e4591d -size 104217 diff --git a/python-radexreader-1.2.5.tar.gz b/python-radexreader-1.2.5.tar.gz new file mode 100644 index 0000000..4149293 --- /dev/null +++ b/python-radexreader-1.2.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7ecf819628031316b88af3834fdb95919336618b1fcc0ae5f71186d9ac0f70aa +size 104951 diff --git a/python-radexreader.changes b/python-radexreader.changes index 6b8c011..08a5e33 100644 --- a/python-radexreader.changes +++ b/python-radexreader.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 3 20:00:00 UTC 2025 - Fabrice Creuzot + +- New upstream release (1.2.5) + * packages scripts update + * compatible with Python 3.14 without any changes + ------------------------------------------------------------------- Fri Feb 2 20:00:00 UTC 2024 - Fabrice Creuzot diff --git a/python-radexreader.spec b/python-radexreader.spec index ff3f476..9c9f26f 100644 --- a/python-radexreader.spec +++ b/python-radexreader.spec @@ -1,7 +1,7 @@ # # spec file for package python-radexreader # -# Copyright (c) 2021-2024 SUSE LLC +# Copyright (c) 2021-2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-radexreader -Version: 1.2.4 +Version: 1.2.5 Release: 0 Summary: Reader for the RADEX RD1212 and ONE Geiger counters License: GPL-2.0-or-later @@ -31,7 +31,7 @@ BuildRequires: python-rpm-macros BuildRequires: fdupes Requires: python-pyserial Requires: python-pyusb -Requires(post): update-alternatives +Requires(post): update-alternatives Requires(postun): update-alternatives BuildArch: noarch %python_subpackages @@ -46,7 +46,7 @@ to unplug the device after installation. %prep %setup -q -n python-radexreader-%{version} -sed -i 's/python3-radexreader /python3-radexreader-rpm /g' src/radexreader.py +sed -i 's/radexreader-local /python3-radexreader-rpm /g' src/radexreader-cli.py sed -i 's/\#\!\/usr\/bin\/python3/\#/g' src/radexreader/__init__.py %build @@ -57,16 +57,13 @@ cd src cd src %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -mkdir -p %{buildroot}%{_bindir}/ -mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/ -mkdir -p %{buildroot}%{_udevrulesdir}/ -install -pm 755 radexreader.py %{buildroot}%{_bindir}/radexreader -install -pm 644 ../debian/radexreader.1 %{buildroot}%{_mandir}/man1/radexreader.1 -install -pm 644 ../debian/radexreader.fr.1 %{buildroot}%{_mandir}/fr/man1/radexreader.1 +install -Dpm 755 radexreader-cli.py %{buildroot}%{_bindir}/radexreader +install -Dpm 644 ../data/radexreader.1 %{buildroot}%{_mandir}/man1/radexreader.1 +install -Dpm 644 ../data/radexreader.fr.1 %{buildroot}%{_mandir}/fr/man1/radexreader.1 %python_clone -a %{buildroot}%{_bindir}/radexreader %python_clone -a %{buildroot}%{_mandir}/man1/radexreader.1 %python_clone -a %{buildroot}%{_mandir}/fr/man1/radexreader.1 -%python_expand install -pm 644 ../debian/udev %{buildroot}%{_udevrulesdir}/60-python%{$python_bin_suffix}-radexreader.rules +%python_expand install -Dpm 644 ../scripts/debian/python3-radexreader.udev %{buildroot}%{_udevrulesdir}/60-python%{$python_bin_suffix}-radexreader.rules %files %{python_files} %license LICENSE