Compare commits
No commits in common. "rawhide" and "f40" have entirely different histories.
2 changed files with 124 additions and 123 deletions
102
changelog
102
changelog
|
|
@ -1,102 +0,0 @@
|
|||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Wed Apr 27 2022 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
||||
- Rebuilt
|
||||
|
||||
* Mon Apr 11 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
Resolves: rhbz#1742639
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.1-10
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Aug 29 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-1
|
||||
- Update to 1.2.1 (#1605196)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 09 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1
|
||||
- Update to 1.2.0 (#1594545)
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
|
||||
- BR and recommend nudatus
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
|
||||
- Update to 1.1.2
|
||||
- Provide python3-uflash
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
- Use new %%py3_ macros for build and install
|
||||
- Update source URL
|
||||
- Include LICENSE and CHANGES.rst
|
||||
- Require setuptools for entrypoints
|
||||
- Add tests
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18b0-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon Jan 18 2016 Kushal Das <kushal@fedoraprojects.org> - 0.9.18b0-1
|
||||
- Initial package creation
|
||||
153
uflash.spec
153
uflash.spec
|
|
@ -1,22 +1,28 @@
|
|||
Name: uflash
|
||||
Version: 2.0.0
|
||||
Release: %autorelease
|
||||
Release: 7%{?dist}
|
||||
Summary: A module and utility to flash Python onto the BBC micro:bit
|
||||
License: MIT
|
||||
URL: https://github.com/ntoll/uflash
|
||||
Source0: %{pypi_source uflash}
|
||||
Source0: %pypi_source
|
||||
|
||||
# For tests, they don't have tags
|
||||
%define hash 147ea945fbe841b0ae17888ab60a60c6080b1225
|
||||
Source1: https://github.com/ntoll/uflash/archive/%{hash}.tar.gz
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: python3-setuptools
|
||||
BuildRequires: python3-nudatus
|
||||
|
||||
Requires: python3-setuptools
|
||||
Recommends: python3-nudatus
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
# Other tools are using this as a module, so provide also the python3- name
|
||||
%py_provides python3-%{name}
|
||||
Provides: python3-%{name} == %{version}-%{release}
|
||||
%{?python_provide:%python_provide python3-%{name}}
|
||||
|
||||
%description
|
||||
A utility for flashing the BBC micro:bit with Python scripts and the
|
||||
|
|
@ -27,35 +33,132 @@ uflash that will flash Python scripts onto a BBC micro:bit.
|
|||
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
%setup -q
|
||||
|
||||
|
||||
%build
|
||||
%py3_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
tar -xf %{SOURCE1}
|
||||
mv %{name}-%{hash}/tests .
|
||||
rm -rf %{name}-%{hash}
|
||||
|
||||
py.test-3 -vv
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires
|
||||
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files -l 'uflash*'
|
||||
|
||||
|
||||
%check
|
||||
%pyproject_check_import
|
||||
%pytest
|
||||
|
||||
|
||||
%files -f %{pyproject_files}
|
||||
%files
|
||||
%doc README.rst CHANGES.rst
|
||||
%license LICENSE
|
||||
%{_bindir}/uflash
|
||||
%{_bindir}/py2hex
|
||||
%{python3_sitelib}/uflash*
|
||||
%{python3_sitelib}/__pycache__/uflash*
|
||||
|
||||
|
||||
|
||||
%changelog
|
||||
%autochangelog
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.0.0-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Wed Apr 27 2022 Miro Hrončok <mhroncok@redhat.com> - 2.0.0-2
|
||||
- Rebuilt
|
||||
|
||||
* Mon Apr 11 2022 Lumír Balhar <lbalhar@redhat.com> - 2.0.0-1
|
||||
- Update to 2.0.0
|
||||
Resolves: rhbz#1742639
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.1-10
|
||||
- Rebuilt for Python 3.10
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7
|
||||
- Rebuilt for Python 3.9
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-5
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Wed Aug 29 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-1
|
||||
- Update to 1.2.1 (#1605196)
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Jul 09 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.0-1
|
||||
- Update to 1.2.0 (#1594545)
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-4
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-3
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-2
|
||||
- BR and recommend nudatus
|
||||
|
||||
* Tue Apr 10 2018 Miro Hrončok <mhroncok@redhat.com> - 1.1.2-1
|
||||
- Update to 1.1.2
|
||||
- Provide python3-uflash
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-2
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Aug 16 2016 Miro Hrončok <mhroncok@redhat.com> - 1.0.3-1
|
||||
- Update to 1.0.3
|
||||
- Use new %%py3_ macros for build and install
|
||||
- Update source URL
|
||||
- Include LICENSE and CHANGES.rst
|
||||
- Require setuptools for entrypoints
|
||||
- Add tests
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.18b0-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon Jan 18 2016 Kushal Das <kushal@fedoraprojects.org> - 0.9.18b0-1
|
||||
- Initial package creation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue