SHA256
1
0
forked from pool/intelhex

6 Commits

Author SHA256 Message Date
a2a52e775a Accepting request 1253575 from electronics
OBS-URL: https://build.opensuse.org/request/show/1253575
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intelhex?expand=0&rev=7
2025-03-17 21:17:54 +00:00
cbc593c490 - Sprinkle in python-rpm-macros, build/install with pyproject macros.
- Run fdupes.
- Run the testsuite.
- No more greedy globs for sitelib.

OBS-URL: https://build.opensuse.org/package/show/electronics/intelhex?expand=0&rev=11
2025-03-17 01:28:40 +00:00
c5e0cddde1 Accepting request 982888 from electronics
OBS-URL: https://build.opensuse.org/request/show/982888
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intelhex?expand=0&rev=6
2022-06-16 16:20:58 +00:00
59b63b205a Accepting request 830455 from electronics
OBS-URL: https://build.opensuse.org/request/show/830455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intelhex?expand=0&rev=5
2020-09-01 18:08:04 +00:00
4b200cf5cb Accepting request 618114 from electronics
OBS-URL: https://build.opensuse.org/request/show/618114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intelhex?expand=0&rev=4
2018-06-29 20:31:27 +00:00
864615fa0d Accepting request 406038 from electronics
1

OBS-URL: https://build.opensuse.org/request/show/406038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/intelhex?expand=0&rev=3
2016-07-05 07:51:47 +00:00
2 changed files with 24 additions and 9 deletions

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 11 05:03:44 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Sprinkle in python-rpm-macros, build/install with pyproject macros.
- Run fdupes.
- Run the testsuite.
- No more greedy globs for sitelib.
-------------------------------------------------------------------
Wed Jun 15 16:49:42 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package intelhex
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,6 +16,7 @@
#
%define pythons python3
Name: intelhex
Version: 2.3.0
Release: 0
@@ -25,7 +26,10 @@ Group: Development/Tools/Other
URL: https://github.com/bialix/intelhex
Source: https://github.com/bialix/intelhex/archive/%{version}.zip
BuildRequires: dos2unix
BuildRequires: python3
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: python3-pip
BuildRequires: python3-setuptools
BuildRequires: unzip
BuildArch: noarch
@@ -53,21 +57,24 @@ inspecting data, and “hexmerge.py” merges multiple HEX files into one.
%setup -q
%build
python3 setup.py\
build
%pyproject_wheel
%install
python3 setup.py\
install\
--prefix=%{_prefix}\
--root=%{buildroot}
%pyproject_install
dos2unix AUTHORS.rst NEWS.rst README.rst LICENSE.txt
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1
export PYTHONPATH=%{buildroot}%{python_sitelib}
%python_exec intelhex/test.py
%files
%doc AUTHORS.rst NEWS.rst README.rst
%license LICENSE.txt
%{_bindir}/bin2hex.py
%{_bindir}/hex*.py
%{python_sitelib}/*
%{python_sitelib}/intelhex
%{python_sitelib}/intelhex-%{version}.dist-info
%changelog