18
1

Accepting request 1143970 from home:luigifab:branches:devel:languages:python:numeric

- New upstream release (1.2.4)
  * fix read with RADEX RD1212 v1

OBS-URL: https://build.opensuse.org/request/show/1143970
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-radexreader?expand=0&rev=13
This commit is contained in:
2024-02-04 09:56:19 +00:00
committed by Git OBS Bridge
parent 7cbc17ef60
commit ea0a9afe21
4 changed files with 16 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-radexreader
#
# Copyright (c) 2021-2023 SUSE LLC
# Copyright (c) 2021-2024 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.3
Version: 1.2.4
Release: 0
Summary: Reader for the RADEX RD1212 and ONE Geiger counters
License: GPL-2.0-or-later
@@ -60,23 +60,23 @@ cd src
mkdir -p %{buildroot}%{_bindir}/
mkdir -p %{buildroot}%{_mandir}/man1/ %{buildroot}%{_mandir}/fr/man1/
mkdir -p %{buildroot}%{_udevrulesdir}/
install -p -m 755 ../src/radexreader.py %{buildroot}%{_bindir}/radexreader
install -p -m 644 ../debian/radexreader.1 %{buildroot}%{_mandir}/man1/radexreader.1
install -p -m 644 ../debian/radexreader.fr.1 %{buildroot}%{_mandir}/fr/man1/radexreader.1
%python_expand install -p -m 644 ../debian/udev %{buildroot}%{_udevrulesdir}/60-python%{$python_bin_suffix}-radexreader.rules
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
%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
%files %{python_files}
%license LICENSE
%doc README.md
%{python_sitelib}/radexreader/
%{python_sitelib}/radexreader*egg-info/
%{_udevrulesdir}/60-python%{python_bin_suffix}-radexreader.rules
%python_alternative %{_bindir}/radexreader
%python_alternative %{_mandir}/man1/radexreader.1%{?ext_man}
%python_alternative %{_mandir}/fr/man1/radexreader.1%{?ext_man}
%{_udevrulesdir}/60-python%{python_bin_suffix}-radexreader.rules
%post
%{python_install_alternative radexreader radexreader.1}