131 lines
3.9 KiB
RPMSpec
131 lines
3.9 KiB
RPMSpec
Name: python-ghp-import
|
|
Version: 2.1.0
|
|
Release: 18%{?dist}
|
|
Summary: GitHub Pages Import
|
|
BuildArch: noarch
|
|
|
|
License: Apache-2.0
|
|
URL: https://github.com/c-w/ghp-import
|
|
Source0: %{pypi_source ghp-import}
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
|
%description
|
|
GitHub Pages Import.
|
|
|
|
|
|
%package -n python3-ghp-import
|
|
Summary: %{summary}
|
|
Obsoletes: python3-ghp-import2 < 1.0.1-12
|
|
Provides: python3-ghp-import2 = %{version}-%{release}
|
|
|
|
%description -n python3-ghp-import
|
|
GitHub Pages Import.
|
|
|
|
|
|
%prep
|
|
%autosetup -p1 -n ghp-import-%{version}
|
|
|
|
|
|
%generate_buildrequires
|
|
%pyproject_buildrequires -r
|
|
|
|
|
|
%build
|
|
%pyproject_wheel
|
|
|
|
|
|
%install
|
|
%pyproject_install
|
|
%pyproject_save_files ghp_import
|
|
|
|
# Remove shebang on non-executable script
|
|
sed -i '1{/^#!/d}' %{buildroot}%{python3_sitelib}/ghp_import.py
|
|
|
|
|
|
%check
|
|
%py3_check_import ghp_import
|
|
|
|
|
|
%files -n python3-ghp-import -f %{pyproject_files}
|
|
%doc README.md
|
|
%license LICENSE
|
|
%{_bindir}/ghp-import
|
|
|
|
|
|
|
|
%changelog
|
|
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-18
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
|
|
|
* Wed Jun 03 2026 Python Maint <python-maint@redhat.com> - 2.1.0-17
|
|
- Rebuilt for Python 3.15
|
|
|
|
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-16
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
|
|
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 2.1.0-15
|
|
- Rebuilt for Python 3.14.0rc3 bytecode
|
|
|
|
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 2.1.0-14
|
|
- Rebuilt for Python 3.14.0rc2 bytecode
|
|
|
|
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-13
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
|
|
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 2.1.0-12
|
|
- Rebuilt for Python 3.14
|
|
|
|
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-11
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
|
|
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-10
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 2.1.0-9
|
|
- Rebuilt for Python 3.13
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-8
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-7
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 2.1.0-5
|
|
- Rebuilt for Python 3.12
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.0-2
|
|
- Rebuilt for Python 3.11
|
|
|
|
* Tue May 03 2022 Sandro Mani <manisandro@gmail.com> - 2.1.0-1
|
|
- Update to 2.1.0
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Wed Jan 05 2022 Sandro Mani <manisandro@gmail.com> - 2.0.2-1
|
|
- Update to 2.0.2
|
|
|
|
* Mon Sep 27 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-4
|
|
- Fix ASL2.0 -> ASL 2.0
|
|
- Strip shebang on non-executable script
|
|
|
|
* Fri Sep 03 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-3
|
|
- Run %%py3_check_import ghp_import in %%check
|
|
|
|
* Thu Sep 02 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-2
|
|
- Port to new Python guidelines
|
|
- Obsolete/provide python3-ghp-import2
|
|
|
|
* Wed Sep 01 2021 Sandro Mani <manisandro@gmail.com> - 2.0.1-1
|
|
- Initial package
|