* initial package for pet

* Update update.rhai

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

* Update pet.spec

Remove build ID workaround

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

* Update pet.spec

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>

---------

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
(cherry picked from commit d16ff41d4d)

Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2024-10-03 22:56:56 -07:00
committed by GitHub
parent e3bee33bdc
commit f60281c0f5
3 changed files with 39 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "pet.spec"
}
}
+33
View File
@@ -0,0 +1,33 @@
%define debug_package %nil
Name: pet
Version: 0.9.0
Release: 1%?dist
Summary: Simple command-line snippet manager
URL: https://github.com/knqyf263/pet
Source0: %url/archive/refs/tags/v%version.tar.gz
License: MIT
BuildRequires: golang anda-srpm-macros
Packager: Owen Zimmerman <owen@fyralabs.com>
%description
%summary
%prep
%autosetup -n pet-%version
%go_prep_online
%build
%go_build_online
%install
install -Dm755 build/bin/pet %{buildroot}%{_bindir}/pet
%files
%license LICENSE
%doc README.md
%{_bindir}/pet
%changelog
* Wed Oct 2 2024 Owen-sz <owen@fyralabs.com> - 0.9.0-1
- package pet
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("knqyf263/pet"));