-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add centos-stream package to specfile packit.yaml (#432)
Add centos-stream package to specfile packit.yaml To be able to propose-downstream using packit follow this guide: https://gitlab.com/CentOS/Integration/packit-cbs/docs This has been opened with packit Reviewed-by: Nikola Forró Reviewed-by: Maja Massarini
- Loading branch information
Showing
2 changed files
with
284 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,240 @@ | ||
%bcond_with tests | ||
|
||
|
||
%global desc %{expand: | ||
Python library for parsing and manipulating RPM spec files. | ||
Main focus is on modifying existing spec files, any change should result | ||
in a minimal diff.} | ||
|
||
|
||
%global base_version 0.32.6 | ||
#global prerelease rc1 | ||
|
||
%global package_version %{base_version}%{?prerelease:~%{prerelease}} | ||
%global pypi_version %{base_version}%{?prerelease} | ||
|
||
|
||
Name: python-specfile | ||
Version: %{package_version} | ||
Release: 1%{?dist} | ||
|
||
Summary: A library for parsing and manipulating RPM spec files | ||
License: MIT | ||
URL: https://github.com/packit/specfile | ||
|
||
Source0: %{pypi_source specfile %{pypi_version}} | ||
|
||
BuildArch: noarch | ||
|
||
BuildRequires: python3-devel | ||
%if %{with tests} | ||
# tests/unit/test_guess_packager.py | ||
BuildRequires: git-core | ||
%endif | ||
|
||
|
||
%description | ||
%{desc} | ||
|
||
|
||
%package -n python%{python3_pkgversion}-specfile | ||
Summary: %{summary} | ||
|
||
|
||
%description -n python%{python3_pkgversion}-specfile | ||
%{desc} | ||
|
||
|
||
%prep | ||
%autosetup -p1 -n specfile-%{pypi_version} | ||
|
||
# since we are building from PyPI source, we don't need git-archive | ||
# support in setuptools_scm | ||
sed -i 's/setuptools_scm\[toml\]>=7/setuptools_scm[toml]/' pyproject.toml | ||
|
||
|
||
%generate_buildrequires | ||
%pyproject_buildrequires %{?with_tests: -x testing} | ||
|
||
|
||
%build | ||
%pyproject_wheel | ||
|
||
|
||
%install | ||
%pyproject_install | ||
%pyproject_save_files specfile | ||
|
||
|
||
%if %{with tests} | ||
%check | ||
%pytest --verbose tests/unit tests/integration | ||
%endif | ||
|
||
|
||
%files -n python%{python3_pkgversion}-specfile -f %{pyproject_files} | ||
%doc README.md | ||
|
||
|
||
%changelog | ||
* Wed Nov 13 2024 Packit Team <[email protected]> - 0.32.6-1 | ||
- New upstream release 0.32.6 | ||
|
||
* Fri Oct 25 2024 Packit Team <[email protected]> - 0.32.5-1 | ||
- New upstream release 0.32.5 | ||
|
||
* Fri Oct 11 2024 Packit Team <[email protected]> - 0.32.4-1 | ||
- New upstream release 0.32.4 | ||
|
||
* Fri Sep 27 2024 Packit Team <[email protected]> - 0.32.3-1 | ||
- New upstream release 0.32.3 | ||
|
||
* Fri Sep 13 2024 Packit Team <[email protected]> - 0.32.2-1 | ||
- New upstream release 0.32.2 | ||
|
||
* Mon Jul 29 2024 Packit Team <[email protected]> - 0.32.1-1 | ||
- New upstream release 0.32.1 | ||
|
||
* Mon Jul 22 2024 Packit Team <[email protected]> - 0.32.0-1 | ||
- New upstream release 0.32.0 | ||
|
||
* Thu Jul 04 2024 Packit Team <[email protected]> - 0.31.0-1 | ||
- New upstream release 0.31.0 | ||
|
||
* Wed Jun 26 2024 Packit Team <[email protected]> - 0.30.0-1 | ||
- New upstream release 0.30.0 | ||
|
||
* Thu Jun 06 2024 Packit Team <[email protected]> - 0.29.0-1 | ||
- New upstream release 0.29.0 | ||
|
||
* Thu May 23 2024 Packit Team <[email protected]> - 0.28.3-1 | ||
- New upstream release 0.28.3 | ||
|
||
* Mon Apr 08 2024 Packit Team <[email protected]> - 0.28.2-1 | ||
- New upstream release 0.28.2 | ||
|
||
* Mon Mar 25 2024 Packit Team <[email protected]> - 0.28.1-1 | ||
- New upstream release 0.28.1 | ||
|
||
* Sun Mar 17 2024 Packit Team <[email protected]> - 0.28.0-1 | ||
- New upstream release 0.28.0 | ||
|
||
* Fri Jan 19 2024 Packit Team <[email protected]> - 0.27.0-1 | ||
- New upstream release 0.27.0 | ||
|
||
* Fri Dec 08 2023 Packit Team <[email protected]> - 0.26.0-1 | ||
- New upstream release 0.26.0 | ||
|
||
* Mon Nov 20 2023 Packit Team <[email protected]> - 0.25.1~rc1-1 | ||
- New upstream release 0.25.1rc1 | ||
|
||
* Mon Nov 20 2023 Packit Team <[email protected]> - 0.25.0-1 | ||
- New upstream release 0.25.0 | ||
|
||
* Tue Nov 14 2023 Nikola Forró <[email protected]> - 0.24.1~rc2-1 | ||
- New upstream release 0.24.1rc2 | ||
|
||
* Tue Nov 14 2023 Nikola Forró <[email protected]> - 0.24.1~rc1-1 | ||
- New upstream release 0.24.1-rc1 | ||
|
||
* Mon Nov 06 2023 Packit Team <[email protected]> - 0.24.0-1 | ||
- New upstream release 0.24.0 | ||
|
||
* Sun Oct 29 2023 Packit Team <[email protected]> - 0.23.0-1 | ||
- New upstream release 0.23.0 | ||
|
||
* Fri Oct 06 2023 Packit Team <[email protected]> - 0.22.1-1 | ||
- New upstream release 0.22.1 | ||
|
||
* Fri Sep 01 2023 Packit Team <[email protected]> - 0.22.0-1 | ||
- New upstream release 0.22.0 | ||
|
||
* Fri Aug 11 2023 Packit Team <[email protected]> - 0.21.0-1 | ||
- New upstream release 0.21.0 | ||
|
||
* Fri Aug 04 2023 Tomas Tomecek <[email protected]> - 0.20.2-2 | ||
- Confirm License is SPDX compatible. | ||
|
||
* Mon Jul 31 2023 Packit Team <[email protected]> - 0.20.2-1 | ||
- New upstream release 0.20.2 | ||
|
||
* Sun Jul 30 2023 Packit Team <[email protected]> - 0.20.1-1 | ||
- New upstream release 0.20.1 | ||
|
||
* Thu Jul 13 2023 Packit Team <[email protected]> - 0.20.0-1 | ||
- New upstream release 0.20.0 | ||
|
||
* Thu Jun 22 2023 Packit Team <[email protected]> - 0.19.0-1 | ||
- New upstream release 0.19.0 | ||
|
||
* Fri May 26 2023 Packit Team <[email protected]> - 0.18.0-1 | ||
- New upstream release 0.18.0 | ||
|
||
* Thu May 11 2023 Packit Team <[email protected]> - 0.17.0-1 | ||
- New upstream release 0.17.0 | ||
|
||
* Thu Apr 20 2023 Packit Team <[email protected]> - 0.16.0-1 | ||
- New upstream release 0.16.0 | ||
|
||
* Fri Mar 10 2023 Packit Team <[email protected]> - 0.15.0-1 | ||
- New upstream release 0.15.0 | ||
|
||
* Thu Feb 23 2023 Packit Team <[email protected]> - 0.14.0-1 | ||
- New upstream release 0.14.0 | ||
|
||
* Mon Jan 30 2023 Packit Team <[email protected]> - 0.13.2-1 | ||
- New upstream release 0.13.2 | ||
|
||
* Mon Jan 23 2023 Packit Team <[email protected]> - 0.13.1-1 | ||
- New upstream release 0.13.1 | ||
|
||
* Fri Jan 20 2023 Packit Team <[email protected]> - 0.13.0-1 | ||
- New upstream release 0.13.0 | ||
|
||
* Fri Jan 06 2023 Packit Team <[email protected]> - 0.12.0-1 | ||
- New upstream release 0.12.0 | ||
|
||
* Wed Dec 14 2022 Packit Team <[email protected]> - 0.11.1-1 | ||
- New upstream release 0.11.1 | ||
|
||
* Fri Dec 09 2022 Packit Team <[email protected]> - 0.11.0-1 | ||
- New upstream release 0.11.0 | ||
|
||
* Sat Nov 26 2022 Packit Team <[email protected]> - 0.10.0-1 | ||
- New upstream release 0.10.0 | ||
|
||
* Fri Nov 11 2022 Packit Team <[email protected]> - 0.9.1-1 | ||
- New upstream release 0.9.1 | ||
|
||
* Tue Oct 25 2022 Packit Team <[email protected]> - 0.9.0-1 | ||
- New upstream release 0.9.0 | ||
|
||
* Fri Oct 14 2022 Packit Team <[email protected]> - 0.8.0-1 | ||
- New upstream release 0.8.0 | ||
|
||
* Fri Oct 07 2022 Packit Team <[email protected]> - 0.7.0-1 | ||
- New upstream release 0.7.0 | ||
|
||
* Thu Aug 25 2022 Nikola Forró <[email protected]> - 0.6.0-1 | ||
- New upstream release 0.6.0 | ||
|
||
* Tue Aug 09 2022 Nikola Forró <[email protected]> - 0.5.1-1 | ||
- New upstream release 0.5.1 | ||
|
||
* Thu Jul 21 2022 Nikola Forró <[email protected]> - 0.5.0-1 | ||
- New upstream release 0.5.0 | ||
|
||
* Thu Jun 16 2022 Nikola Forró <[email protected]> - 0.4.0-1 | ||
- New upstream release 0.4.0 | ||
|
||
* Tue May 10 2022 Nikola Forró <[email protected]> - 0.3.0-1 | ||
- New upstream release 0.3.0 | ||
|
||
* Wed Mar 30 2022 Nikola Forró <[email protected]> - 0.2.0-1 | ||
- New upstream release 0.2.0 | ||
|
||
* Mon Feb 21 2022 Nikola Forró <[email protected]> - 0.1.1-1 | ||
- New upstream release 0.1.1 | ||
|
||
* Tue Feb 08 2022 Nikola Forró <[email protected]> - 0.1.0-1 | ||
- Initial package |