Initial package

This commit is contained in:
Neal Gompa 2025-05-30 22:17:59 -04:00 committed by Neal Gompa
commit efe75c8aad
3 changed files with 55 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/almalinux-git-utils-3a7c84896f2dcdbd6fc13fb5df11af43b92ec850.tar.gz

53
almalinux-git-utils.spec Normal file
View file

@ -0,0 +1,53 @@
%global commit 3a7c84896f2dcdbd6fc13fb5df11af43b92ec850
%global shortcommit %{sub %{commit} 1 7}
%global commitdate 20240927
Name: almalinux-git-utils
Version: 0.0.3^git%{commitdate}.%{shortcommit}
Release: 1%{?dist}
Summary: Utilities for working with the AlmaLinux Git server
License: GPL-3.0-or-later
URL: https://git.almalinux.org/almalinux/almalinux-git-utils
Source0: %{url}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3dist(pytest)
%description
%{summary}.
%prep
%autosetup -n %{name}-%{commit}
%generate_buildrequires
%pyproject_buildrequires
%build
%pyproject_wheel
%install
%pyproject_install
%pyproject_save_files -l almalinux
%check
%pytest -v
%files -f %{pyproject_files}
%license LICENSE
%doc README.md
%{_bindir}/alma_blob_upload
%{_bindir}/alma_get_sources
%changelog
* Fri May 30 2025 Neal Gompa <ngompa@almalinux.org> - 0.0.3^git20240927.3a7c848-1
- Initial package

1
sources Normal file
View file

@ -0,0 +1 @@
SHA512 (almalinux-git-utils-3a7c84896f2dcdbd6fc13fb5df11af43b92ec850.tar.gz) = 41175cc6bc6c947b432e2631dfb82fd7e58d6a2a1a0eb7cfe4ba5376d831a66996642c3dd5c4ae9a8132141beff0268c60e467030da179a6d7f469f7bf3c12c3